From http://pcunix.com/SCOFAQ/scotec6.html#killminus9 :
When you can't kill it with -15.
The idea here is that properly written programs will respond to a -15 by cleaning up anything they need to do before dying. Understand that this is not a matter of priorities, or the
system giving more time with a -15; it's simply that a program can catch the -15, do what it needs to do and then voluntarily exit. It could also choose to ignore the -15 all together. If it
hasn't made any proviosions at all, the -15 works exactly like the -9: the process dies immediately.
A "kill -9" just causes the process to die; it gets no chance to do any cleanup. Therefore, if you don't know how a program was written, you should try the -15 first, in case it does need
to clean up files, flush logs or whatever. If the -15 doesn't work, then use the -9.
See also Why can't I kill a process with -9?
http://pcunix.com/SCOFAQ/scotec6.html#cantkill
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.