I would like to know if it is possible to freeze a process in Linux and then restart or shut down the computer. And when the computer goes back to work, continue with the process that was frozen.I tried to use killall -s STOP to freeze the process, but when I reboot the computer and use the command killall -s CONT, it says no process is located.
it is possible to freeze a process in linux and restart or shutdown the computer. Then continue with the process that was frozen?
linux;process;kill
No, you cannot suspend individual processes across a reboot. However, it should be possible to suspend the entire system. When you restart it later the processes that were running may well be able to continue. (Exceptions include those communicating across a network.)There are two forms of suspendSuspend to memory - this requires continuous power (battery, etc.) but the system is essentially paused.Suspend to disk - this does not require power, but the system will take a little longer to restart. In the Windows world this used to be called Hibernate.