Christopher Spears wrote:
> What is the difference between
> 
> kill 1, SIGNAL
> 
> and 
> 
> kill 9, SIGNAL ?
> 
> By reading books and talking to people, I figured out
> that kill 1 is the HUP (hang up signal) and kill 9 is
> the  kill signal.  Don't they do the same thing (i.e.
> terminate a program)?  I was told that kill 1 is a
> "nicer" way to end a program than kill 9.

Actually SIGTERM is the "nicer" way to end a program and if that doesn't work
then use SIGKILL.  SIGHUP is usually used to tell a program to reread its
configuration files and start anew.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to