[CentOS] Stopping a server not controled by service
Alex
ethericalzen at gmail.com
Tue Jul 15 20:38:18 UTC 2008
On Tue, 15 Jul 2008 16:25:17 -0400
"Filipe Brandenburger" <filbranden at gmail.com> took out a #2 pencil
and scribbled:
> 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
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 at gmail.com
Life is a prison, death is a release
More information about the CentOS
mailing list