Wednesday, December 19, 2012

Find process and kill


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

kills all pids matching the search term of "PROCESS". Be careful what you wish for :)

0 comments:

Post a Comment