[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adsl keep alive script



On Fri, 30 Nov 2001, Ghiora Drori wrote:

> I probably could use SIGTERM but I like using an axe...

that's all nice and well, if you're an axe murderer. for killing
programs, it's *really* prefered to first try to gently smother them
with a pillow (kill) and only then resort to somewhat more violent means
(kill -9).

why? because pretty much any non trivial, well coded program needs to
perform cleanup on shutdown. kill -9 will won't let that happen,
possibly causing problems the next time the program comes up or even
before (think system wide resources which are not cleaned up on
process termination, which the poor program might leave behind because
you splattered its brains all over the wall with a well timed axe
stroke, err, kill -9).
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il