killing stubborn processes

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: killing stubborn processes
On Fri, 2004-01-09 at 12:04, Robert Ambrose wrote:
> FWIW, *always* consider sending a SIGKILL (kill -9) the very last resort.
> Because SIGKILL cannot be trapped, the process doesn't have a chance to
> clean up after itself. I usually try SIGTERM (kill w/o argument or kill
> -15), SIGINT (kill -INT or kill -2), SIGHUP (kill -HUP or kill -1) befure
> resorting to SIGKILL. I avoid telling users about kill -9, after they
> find out about it they tend to use it for everything.

---
funny thing about tools that work. Never use a little hammer when the
sledge will settle it first time every time.

;-)

Craig