Can I nohup/screen an already-started process?

Posted by ojrac on Server Fault See other posts from Server Fault or by ojrac
Published on 2009-06-11T22:53:44Z Indexed on 2011/01/17 9:55 UTC
Read the original article Hit count: 329

Filed under:
|
|
|
|

I'm doing some test-runs of long-running data migration scripts, over SSH. Let's say I start running a script around 4 PM; now, 6 PM rolls around, and I'm cursing myself for not doing this all in screen.

Is there any way to "retroactively" nohup a process, or do I need to leave my computer online all night? If it's not possible to attach screen to/nohup a process I've already started, then why? Something to do with how parent/child proceses interact? (I won't accept a "no" answer that doesn't at least address the question of 'why' -- sorry ;) )

© Server Fault or respective owner

Related posts about linux

Related posts about ssh