Kill all Tomcat processes
https://gist.github.com/nrshrivatsan/1d2ea4fcdcb9d1857076
ps -ef | grep tomcat | awk '{print $2}' | xargs kill -9
Often we just wana kill all Tomcat processes running on a machine.
The above script is a one liner which kills all tomcat processes.
Written by Shrivatsan Rajagopalan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tomcat
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#