a process can't be killed by kill -9, it always change process id

Posted by wenzi on Stack Overflow See other posts from Stack Overflow or by wenzi
Published on 2012-11-10T10:57:03Z Indexed on 2012/11/10 11:00 UTC
Read the original article Hit count: 232

Filed under:
|
[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

what is wrong with this and how to deal with it?

© Stack Overflow or respective owner

Related posts about shell

Related posts about process