Wow, Thanks for the huge response. I know it was pretty simple and knowing me I probably did use the -9 switch a couple of times long ago, but the man page didn't get those bells ringing quite soon enuf.
Best Simon On Thu, 31 Jul 2003, Mark Fisher wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thursday 31 Jul 2003 8:25 am, Shane Hickey wrote: > > On Thu, 31 Jul 2003 03:05:58 +0000 (DST) > > > > Simon Mushi <[EMAIL PROTECTED]> wrote: > > > I just wanted to ask what to do if a process refuses to die. For > > > example I want to kill dctc with a pid of 16371. So I type in "kill > > > 16371" and I can do this continually and the process refuses to die > > > and still shows up in top. > > > > > > What can I do to kill it for real? > > > > Try a kill -9. The normal kill tries to play nice, but it doesn't > > always get the job done. If kill -9 doesn't do the trick, then you > > might need to reboot. For example when I have an nfs mount go sour or a > > usb drive's action get hung up then sometimes a kill -9 won't take care > > of it. At that point, I just reboot... maybe there's a better way, > > though. > > kill -9 pid does normally work, if however it doesnt then the process is > probably a zombie. In which case, do a pstree and kill the parent process. > This extra step has fixed the problem for me on every occasion so far. > > - -- > Mark > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/KNsEzrmqzOOQUj8RAhAoAKCdym1jKQyolHo7OfnLnOHH5hhcYQCfcx48 > nYkb0b2tloqBaA+Rq2bdeJs= > =acu8 > -----END PGP SIGNATURE----- > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list