[SunHELP] kill

Naresh sunhelp at sunhelp.org
Wed Jun 20 18:03:23 CDT 2001


This works for me:
ps -ef|grep USER|grep -v grep|awk '{print $2}'|xargs kill -9

Naresh
----- Original Message -----
From: "Wally A. Alubankudi" <walubank at hotmail.com>
To: <sunhelp at sunhelp.org>
Sent: Wednesday, June 20, 2001 7:31 AM
Subject: [SunHELP] kill


> Hi All,
>       I am trying to kill all processes that belong to a user but my
command
> fail, checkout my command and see what is wrong.
> # ps -e | grep foo | grep -v grep | awk '{print $1}' xargs kill -9
> Wally
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>




More information about the SunHELP mailing list