This Simplifies this task by killing all processes that are the result of that search:
kill -9 `ps -ef | grep processname | grep -v grep | awk '{print $2}'`
Helpful bits and bytes
kill -9 `ps -ef | grep processname | grep -v grep | awk '{print $2}'`
No comments:
Post a Comment