如何在没有`kill pid`的情况下自动终止后台进程?

时间:2014-10-23 12:23:58

标签: python shell process

我使用命令在我的vps控制台中运行后台进程。

nohup  python  /home/test.py  &

当程序结束时,在我的putty控制台中输入ps aux,屏幕上会显示消息。

root      3513  0.1  2.9  24296 15004 ?        S    11:51   0:00 python /home/test

如何在没有kill 3513的情况下终止该过程?

0 个答案:

没有答案