Sunday, October 3, 2010

Kill all tomcat instances running by one command

kill -9 `ps ax | grep tomcat | grep -v grep | awk '{print $1}'`


You can improve this command to kill any process you want . just replace the 'tomcat'
with processor you want to kill .

1 comment: