shell – 一个进程不能被kill -9杀死,它总是改变进程id
发布时间:2020-12-15 21:32:13 所属栏目:安全 来源:网络整理
导读:[root@rp8 flash]# ps -ef|grep "sleep"root 17510 17314 0 11:52 pts/3 00:00:00 sleep 120root 17512 17328 0 11:52 pts/2 00:00:00 grep --color=auto sleep[root@rp8 flash]# kill -9 17510[root@rp8 flash]# ps -ef|grep "sleep"root 17514 17314 0 11:
[root@rp8 flash]# ps -ef|grep "sleep" root 17510 17314 0 11:52 pts/3 00:00:00 sleep 120 root 17512 17328 0 11:52 pts/2 00:00:00 grep --color=auto sleep [root@rp8 flash]# kill -9 17510 [root@rp8 flash]# ps -ef|grep "sleep" root 17514 17314 0 11:53 pts/3 00:00:00 sleep 120 root 17516 17328 0 11:53 pts/2 00:00:00 grep --color=auto sleep [root@rp8 flash]# kill -9 17514 [root@rp8 flash]# ps -ef|grep "sleep" root 17518 17314 0 11:53 pts/3 00:00:00 sleep 120 root 17520 17328 0 11:53 pts/2 00:00:00 grep --color=auto sleep 这有什么问题以及如何处理它? 解决方法
看看父进程;你可能也需要杀掉它.
每个睡眠进程的ps输出具有相同的父进程ID:17314.要停止重新生成睡眠进程(再次,再次),您必须杀死17314,但首先要确保在停止之前知道它是什么. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |