[wplug] suspending processes
Jonathan S Billings
billings at negate.org
Tue Dec 2 16:56:37 EST 2003
You could kill -STOP <processid>, then kill -CONT <processid> when the
fileserver is back up. I use these quite often to deal with somewhat
similar circumstances.
On Tue, 2003-12-02 at 16:39, John Harrold wrote:
> 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.
--
Jonathan S Billings <billings at negate.org>
TSFNKP, President and Chief Lackey
More information about the wplug
mailing list