Can't kill a process

Les Mikesell lesmikesell at gmail.com
Fri May 18 12:53:39 UTC 2007


Simon Slater wrote:
> 	A quick question for someone: a process running as root can't be killed
> by kill PID.  How do I kill it?

Sure it can - you just have to be running as root when kill it.  Some 
programs trap and ignore signals, so it may a 'kill -9 PID' which can't 
be trapped) to do it but normally you want to use a less drastic signal 
first to give it a chance to exit cleanly.  The only thing that should 
keep the kill -9 from working would be a process that is hung waiting 
for a device driver operation to complete.

-- 
   Les Mikesell
    lesmikesell at gmail.com





More information about the fedora-list mailing list