我无法在linux中杀死我的python脚本(I can´t kill my python script in linux)
我试图杀死我的python进程并始终在那里。
也尝试使用sudo ,如果我使用顶级命令,过程仍然存在。
python脚本是由我创建的,没有其他进程在不断调用。
ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284) ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284) ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284)I'm trying to kill my python process and always still there.
Also try using sudo and if I use top comand, the process is still there.
The python script was created by me, and no other process is continually calling.
ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284) ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284) ubuntu@ip-*******:~/Desktop/Servidor$ pkill python -e python killed (pid 1284)最满意答案
你可以使用的东西相当野蛮,适用于任何流氓过程
ps ax|grep python|cut -c1-5|xargs kill -9以sudo身份运行。
Something you can use that is fairly brutal and will work for any rogue process is
ps ax|grep python|cut -c1-5|xargs kill -9run as sudo.
更多推荐
发布评论