Simon Wong wrote:
> Will have a close read of it. Was a bit confused by the signals and
> assumed that the default would be "kill at all costs".
The default is 'please die, if you would be so kind', which should
be enough, really.
An application which ignores that has a bug. After all, there is
no reason why the app should think it's not a sincere request.
The most popular signals and their numbers sent by users are
terminate (15) -- the default
interrupt (2) -- most commonly generated by hitting ctrl-C
kill (9) -- die now!
stop (17) -- most commonly generated by hitting ctrl-Z
really means pause
continue (19) -- sent by the fg command to a stopped (paused)
process
of these, only 9 and 17 cannot be ignored by the process.
Matt
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug