[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: detaching a process from an ssh session ??

--- Lorenzo Prince <lorenzo@prince.homelinux.org> wrote: 

> # and I get no output/ processes - and the CPU should be maxed out but
> # it's on zero; I'm guessing the process must have been killed.

Often it is desirable to do something like:

% process
% bg
% disown $!

It's the disown that'll keep it alive if the controlling terminal
disappears (note that 'nohup' might be a more acceptable alternative, if
you have issues with using shell builtins):

nohup <process>

> Try running it through screen instead:

(this is another alternative)

-- Thomas Adam

"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)

___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com

Reply to: