[SunHELP] kill

infinity sunhelp at sunhelp.org
Wed Jun 20 09:48:05 CDT 2001


try this
 "ps -e | grep [f]oo | awk '{print $1}' | xargs kill -9"


----- Original Message -----
From: "Wally A. Alubankudi" <walubank at hotmail.com>
To: <sunhelp at sunhelp.org>
Sent: Wednesday, June 20, 2001 5:31 PM
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