Wednesday, June 17, 2009

Kill all UNIX processes with one command



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

No comments:

Post a Comment