[SunHELP] kill

Ivan Kovalev sunhelp at sunhelp.org
Wed Jun 20 10:17:13 CDT 2001


Missing pipe before xargs. Alternatively:

kill -9 ` ps -e | grep foo | grep -v grep | awk '{print $1}'`

"Wally A. Alubankudi" wrote:
> 
> 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