l********0 发帖数: 283 | 1 我使用
nohup command &
来运行命令,这个命令可以在后台运行,即使我从shell上logout
但是,下次login之后,使用jobs命令,就看不到上次运行的命令,虽然那个命令仍然
在运行
有没有方法,或者其它什么工具,可以让我管理后台运行的程序,无论是否logout
shell?
谢谢! | v*****r 发帖数: 1119 | 2 jobs/fg/bg command are tied with your terminal session, once you logout, you
will not be able to manipulate nohup process in new login sessions. You can
find the running nohup process using "ps -ef | grep " to find the
process id, name; and then you can send signals to the running nohup process
, for example kill the process. | l********0 发帖数: 283 | 3 Alright.
Thanks a lot.
you
can
the
process
【在 v*****r 的大作中提到】 : jobs/fg/bg command are tied with your terminal session, once you logout, you : will not be able to manipulate nohup process in new login sessions. You can : find the running nohup process using "ps -ef | grep " to find the : process id, name; and then you can send signals to the running nohup process : , for example kill the process.
| E*V 发帖数: 17544 | 4 screen
man screen
google screen
【在 l********0 的大作中提到】 : Alright. : Thanks a lot. : : you : can : the : process
|
|