a quick linux tip

Raul A. Gallegos raul at asmodean.net
Fri Aug 23 09:51:23 EDT 2002


Terry D. Cudney said the following on Thu, Aug 22, 2002 at 10:17:40PM -0400:
> 	You don't "pass the exit" to another console.
> 
> 	Rather, do a:
> 
> 	kill -9 PID


kill -1 also works.  I don't know all the implications of the kill
command and it's parameters however from what I've been told and what
I've seen, a -9 is usually the last resort of killing a process.  Some
can just take a plain sighup -1 in the case of a bash process it will
reset it and kill the console connection.  If you do a kill -1
pid_of_named it will re-read the named.conf configuration files like if
you add new zones.  If you want to kill a process that will not work
right with a -1 then -TERM -15 will do the trick.  And then if those
don't work I resort to a -9 to really force it to die.

Just my 2 cents worth.

-- 
Yesterday is history, tomorrow is a mystery, today is a gift.
Enjoy that gift, that's why it's called the present.
Raul A. Gallegos http://www.asmodean.net/contact.html




More information about the Speakup mailing list