Re: Stopping a server not controled by service

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



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
_______________________________________________
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