Summary: Quick question about killing process

SANTHAKUMAR Siva siva.santhakumar at hsntech.com
Fri Aug 8 02:38:28 EDT 2003


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 at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list