You learn something everyday.  I don't think I've ever used pkill before.  I've done annoying ps aux | grep user| cut ... | kill hacks to do the same thing.  I'll keep that one in mind for when I next need to clean up after evolution 1.4 on NFS shares before rebooting... :)

Regards

On Mon, 2004-04-05 at 08:48, Daniel Lawson wrote:
>Hee. Does Solaris have pkill? That's what I've been using on
>Linux for the longest time now -- no killall for me, thanks.
>  
>

That's a really good point actually, and more people should be made 
aware of pkill.

pkill -u username

will kill all processes owned by that user.

pkill -u username programname

will kill all proceesses called programname owned by that user.

So killing all of perry's bash processes is easy: pkill -u perry bash.

If you just typed 'killall bash' you'd be likely to kill your own bash 
process as well!
_______________________________________________
wlug mailing list | wlug@list.waikato.ac.nz
Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
--
Oliver Jones » Director » oliver.jones@deeperdesign.com » +64 (21) 41 2238
Deeper Design Limited » +64 (7) 377 3328 » www.deeperdesign.com