[ale] Expect?

David Ritchie deritchie at gmail.com
Thu Feb 10 02:00:34 EST 2011


On Wed, Feb 9, 2011 at 2:40 PM, Lightner, Jeff <jlightner at water.com> wrote:
>
> Try doing a progressive kill (e.g.  kill <PID>, use ps to see if it went
> away, if not kill -1 <PID>, check with ps again and finally "kill -9
> <PID>" if that didn't kill it.
>

Actually, kill -15 is the preferred signal with which to start. It
indicates to a well written program that it is
to shut itself down and exit immediately. Be patient when using this -
it may take a bit of time to shut things
down correctly. kill -9 is a last resort, as it and SIGSTOP are not
trappable by the executable, so there
is no chance that any cleanup can occur. Other signals may do similar
functions, or may be ignored completely,
dependent on the whim of the programmer.

Best regards,
Dave Ritchie



More information about the Ale mailing list