Can't kill a process
pyevet at aapt.net.au
Fri May 18 15:08:54 UTC 2007
On Fri, 2007-05-18 at 07:53 -0500, Les Mikesell wrote:
> 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
That's what was strange, Les, I did try as root. Using neither kill -2
nor -6 worked but kill -9 did.
More information about the users