Tuesday, April 29, 2008

kill'em all (xargs)

ps -ef | grep $pgname| grep -v grep | awk '{print $2}'| xargs kill -9

0 Comment :