[K12OSN] killing a user's processes -- solution

The Prof joseph.bishay at gmail.com
Sun Mar 6 06:43:52 UTC 2005


Hello,

I'm not sure if this is what you are looking for, butone command that
was suggested to me before, and works extremely well, is the 'slay'
command.

slay - Kill all the process belonging to a user.  Common Usage: slay <username>

Joseph

On Sat, 05 Mar 2005 22:36:53 -0800, ddaniels at magic.fr <ddaniels at magic.fr> wrote:
> Yes, handy one that.. but, when you ps -aux and identify a problem user
> name it only shows eight chars. of the user's name... it just occurred
> to me that pkill -u usernam* might work...
> 
> Thanks for sharing Rob! pkill is a teacher's friend!
> :)
> 
> Dennis
> 
> Rob Owens wrote:
> 
> >I know I've seen a lot of people asking about this in
> >the past, so I figured I'd share something I came
> >across while googling.
> >
> >pkill -u username
> >
> >this will kill every process owned by "username"
> >
> >-Rob
> >
> >
> >
> >
> >__________________________________
> >Celebrate Yahoo!'s 10th Birthday!
> >Yahoo! Netrospective: 100 Moments of the Web
> >http://birthday.yahoo.com/netrospective/
> >
> >_______________________________________________
> >K12OSN mailing list
> >K12OSN at redhat.com
> >https://www.redhat.com/mailman/listinfo/k12osn
> >For more info see <http://www.k12os.org>
> >
> >
> >
> >
> 
> --
> lost and found:
> www.dennisgdaniels.com
> 951 347 9711
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> 
>




More information about the K12OSN mailing list