Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    167

    Pause Process - Reattach and Resume in Screen

    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

  2. #2
    Join Date
    Mar 2009
    Location
    Sydney, Australia
    Posts
    34
    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.

  3. #3
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •