Monday, May 19, 2008

Terminate Tomcat

This command will terminate a single Tomcat instance on a linux machine
kill -9 `ps aux | grep tomcat | grep -v grep | tr -s " " | cut -f2 -d" "`
Does not work when several instances run parallel.

No comments: