Suppose i SSH into a sever and run a process.How can I keep this process running after I log out of SSH?
10/3/2007 4:21:57 PM
i think it depends on the processyou can try adding an & after the command and that will put it in the background. I dunno if it will stay open or not when you close out of SSH
10/3/2007 4:24:59 PM
use "SCREEN"
10/3/2007 4:38:44 PM
the process will die immediately when you log out, even if you put it in the background via &Issue a nohup command and it will run until completion regardless of whether you log out or not.nohup process_name.ksh &
10/3/2007 4:41:33 PM
got ithad to put the directorynohup ./process&no space with ambersand.
10/3/2007 5:14:18 PM
you can also use screen.type "screen". then you will be in a shell, start the process. then type CTRL-A + D (hold down control, hit A, then release both and hit D) to detach. then you can login later and type CTRL-A + R to reattach
10/3/2007 9:55:14 PM
nohup ftw
10/3/2007 11:04:09 PM
10/4/2007 12:47:01 AM