[wplug] suspending processes

John Harrold jmh17 at pitt.edu
Tue Dec 2 16:39:54 EST 2003


does anyone know how to suspend a process and resume it? i know that in
bash i can hit control+z and then type fg to resume it. i'm want to suspend
someones process as root and then resume it at a later time. i noticed the
suspend command which is part of bash. it says:


Suspend  the execution of this shell until it receives a SIGCONT signal.
...

what if i'm not trying to suspend a shell but rather a program running in
that shell?

you might ask why i want to do this. i need to take down the file server,
but there are simulations running which can last many days. since these
simulations depend on files on the file server, i want to try to suspend
the processes and hope they don't notice that the file server has
disappeared for a few minutes.

-- 
--------------------------------------------------------------------------
                                               | /"\
 john harrold                                  | \ / ASCII ribbon campaign
      jmh at member.fsf.org                    |  X  against HTML mail
           the most useful idiot               | / \
--------------------------------------------------------------------------
 What difference does it make to the dead, the orphans, and the homeless,
 whether the mad destruction is brought under the name of totalitarianism or
 the holy name of liberty and democracy?
 --Gandhi
--------------------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20031202/bd3d5193/attachment-0001.bin


More information about the wplug mailing list