[CentOS] Stopping a server not controled by service
    Filipe Brandenburger 
    filbranden at gmail.com
       
    Tue Jul 15 20:25:17 UTC 2008
    
    
  
On Tue, Jul 15, 2008 at 15:54, Alex <ethericalzen at gmail.com> wrote:
> If you want to terminate the process you can find the PID via 'ps
> aux' and issue the command 'kill -9 pidofprocess'. If you know the
> name of the process you may use 'killall -9 processname'.
Why the hell -9?
TERM is -15 and HUP is -1 (but I would stick to the names).
Using -9 is almost always the wrong answer. It's a last resort when
everything else failed, and it should be reserved for such.
One should never use this command on a day-to-day basis, much less
teach it or suggest it in a mailing list like this one.
Filipe
    
    
More information about the CentOS
mailing list