[wplug] NOHUP question

Steve Snodgrass ssnodgra at pheran.com
Wed Apr 2 09:07:44 EST 2003


On Wed, Apr 02, 2003 at 08:25:07AM -0500, Vanco, Donald wrote:
> 	I was under the impression that "-9" killed anything (and hopefully
> it's children), regardless of it's "initiation" state - is that not the
> case??

kill -9 will usually kill anything, but you should only use it as a last
resort.  Try a plain kill (-15) first; it allows the process to exit more
gracefully.  Children of the process are not killed in either case, but they
might die anyway depending on how they were spawned and what signals they
accept.  If anything, kill -9 is probably *less* likely to kill children than a
normal kill, since the process is simply terminated with prejudice and is not
allowed to clean up after itself.

-- 
Steve Snodgrass * ssnodgra at pheran.com * Network and Unix Guru(?) at Large
Geek Code: GCS d? s: a C++ U++++$ P+++ L++ w PS+ 5++ b++ DI+ D++ e++ r+++ y+*
"If you want to be somebody else, change your mind."  -Sister Hazel



More information about the wplug mailing list