[clug] Command of the Hour

Ian darkstarsword at gmail.com
Tue Sep 23 14:06:36 GMT 2008

Awesome, that is something I have wanted to know how to do for *years* =D

On Tue, Sep 23, 2008 at 11:50 PM, Hal Ashburner <hal.ashburner at gmail.com> wrote:
> If you're running some very long running command and realise that you are
> likely to log out before it finishes for whatever reason (you're going home,
> the network connection is flaky etc) and you have that "screen moment" where
> you say to yourself "I wish I started this from inside a screen session"
> One solution is cryopid:
> http://cryopid.berlios.de/
> Which allows you to freeze the process using cryopid then thaw it again from
> inside screen.
> Another slightly simpler, quick & dirty fix might be to use shell job
> control:
> Ctrl+z
> bg %1
> disown %1
> Which then allows you to close the controlling terminal without killing the
> process. With the caveat that if you needed the output from the controlling
> terminal it's gone.
> Cryopid can also be extremely useful to assist in tracking down a bug that
> requires a very long setup to trigger. Eg you can run the process, maybe on
> a simulator. Do the very long setup and then freeze the process. Then you
> can thaw the process many times with that setup already done as you prod and
> poke to find the bug.
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux

On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
     -- Erik Raymond, 2005
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

More information about the linux mailing list