On August 10, 2005 12:23, Ronald J. Hall wrote:
> On Wednesday 10 August 2005 02:07 pm, Anne Wilson wrote:
> > > My favorite, kill the process beyond a shadow of a doubt, bury it
> > > without even a sermon, method is:
> > >
> > > killall -9 <name of process>
> >
> > OK - so it's name of process, not pid.  I'll try to remember.  Those
> > 'little grey cells' get more and more scarce :-)
> >
> > Anne
>
> Well, it depends, I think if its just "kill" then the pid works fine. I've
> found though that sometimes kill isn't enough. If its "killall" I've always
> used the process name.
>
> HTHs!

Yes, with kill it must be the pid. With killall it must be the process name. 
Killall is very handy if you want to kill all processes with the same name, 
regardless of how many of them there might be. Don't use it if you only want 
to kill one of many.

It's best to try a regular kill or killall first. This gives the process(es) 
being killed a chance to clean up (flush file caches, remove locks, ...), so 
it's less likely to corrupt things. But if that doesn't work, adding the -9 
option is the next step.

-- 
Ron
ronhd at users dot sourceforge dot net

Opinions expressed here are all mine.

"As you know, necessity is the mother of invention.
I don't know who the father is. Remorse, I guess." - Red Green

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to