Portal Home > Knowledgebase > Articles Database > Pause Process - Reattach and Resume in Screen


Pause Process - Reattach and Resume in Screen




Posted by o-dog, 06-13-2009, 09:21 AM
Dear all, Just installing cPanel/WHM and its taking a little while, i am running under a SSH session. I wished i had run it in screen now! If i close my SSH session the install will stop half way through which will not be good. Is there anyway to pause the current process, and restart it in a screen session? Many thanks in advance, Chris

Posted by RZNetworks, 06-13-2009, 11:23 PM
Unfortunately not that I am aware of. I've done this a number of times, and got stuck in the office rather than heading home and resuming work from there.

Posted by InstaCarma_Support, 06-15-2009, 02:24 AM
Try the following method : 1. Assuming that you have started a process already, get into the screen and get the process id. 2. Use the kill signal SIGSTOP for the process. This will pause the process. 3. Once you reach the other location ready to continue, use the signal 'SIGCONT' to continue the process. Hope this helps!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language: