Summary: Quick question about killing process

From: SANTHAKUMAR Siva <siva.santhakumar_at_hsntech.com>
Date: Fri Aug 08 2003 - 02:38:28 EDT
Hi Managers,

Thanks to Attila  to reminding me about the xargs.

Working solution:
ps -ef |grep pattern |grep -v grep | awk ' {print $2}' | xargs kill
>/dev/null

Thanks to others also for taking time to reply.

PS: pgrep and grep -v doesn't work here.

Cheers
Santhakumar
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Aug 8 02:43:01 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:17 EST