Re: Stopping a server not controled by service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 15 Jul 2008 16:25:17 -0400
"Filipe Brandenburger" <filbranden@xxxxxxxxx> took out a #2 pencil
and scribbled:

> On Tue, Jul 15, 2008 at 15:54, Alex <ethericalzen@xxxxxxxxx>
> 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

You sir, are totally correct, I was thinking kill while reading
TERM. I was going to go back and correct this, but saw it was
already stated. So, yah. Don't run around killing processes like
that.

I swear I'm not as dippy as I sound lol

Sincerely,


Alex White

-- 
ethericalzen@xxxxxxxxx
Life is a prison, death is a release
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux