Click to See Complete Forum and Search --> : Problems with KILL


sym
10-16-2001, 03:42 PM
I had a process that I tried to kill. I tried the following:

kill <pid>
kill -9 <pid>
killall <process name>
killall -9 <process name>
several other variations of the above.

None of these commands got rid of the process. I was wondering what I was doing wrong. I did man kill and man killall, but that didn't clarify it much.

Thanks.

chikn
10-16-2001, 04:03 PM
Some runaway or frozen processes just wont die without a reboot. Its just that simple.

camelrider
10-16-2001, 04:45 PM
Are you logged in as the owner of the process? Or as root?

Malakin
10-16-2001, 06:02 PM
You can try "pstree" or "pstree -p" to see if it's a child process and kill the owner.

If you do a "ps aux" in the 8th column if it's listed as a Z meaning zombie only a reboot will get rid of it.

sym
10-17-2001, 08:40 AM
Thanks for the help.

That is more or less what I assumed, but I thought I had left the rebooting behind with windows ;) .