killing stubborn processes

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Craig White
日付:  
題目: 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