freeze a process
Hi, I've lauched a process (a very long simulation). I want to stop the process (contol+z), power down my computer, and tomorrow, power up the computer and continue the process. How can do it? I can freeze the computer on hd/ram, but the problem is that beryl doesn't work well if I do it.
|
If I'm not mistaken, you send the process a SIGHUP (signal hangup) signal.
Here's a tutorial, in case you are not familiar with it: http://linuxplanet.com/linuxplanet/tutorials/6254/3/ |
Sending SIGHUP by itself isn't going to allow him to do what he wants. AFAIK, I'm unaware of anything which would generically let you save a process's state, reboot the computer, and allow the process to resume where it left off. I think the best bet is for the simulation process itself to periodically save state, or install some state saving knowledge as part of a signal handler.
|
All times are GMT -5. The time now is 07:26 AM. |