What is the most delicate, graceful kill signal?  I picked these few out of
the man pages for kill, but I'm wondering which of them is the 'easiest' on
the program: in that it allows the program time to close out tmp files and
such.  My guess is the -1 option (SIGHUP) because 1 is the polar of 9
(surekill).

SIGNALS     Name        Value  Default  Event          Be Ignored
     SIGHUP       1    Exit     Hang-up            Yes
     SIGINT       2    Exit     Terminated (^c)   Yes
     SIGQUIT      3    Core     Quit       (^\)   Yes
     SIGKILL      9    Exit     Killed            No  (Sure Kill)
     SIGTERM      15   Exit     Terminated        Yes (Default)

TIA (thanks in advance),
-Dan

Reply via email to