tomcat status from shell

ahmettaha

Registered
Hello,
How can I check if tomcat is running from shell. The only scripts that I found are for a different version of ps, so I couldnt use them.


thanks
 
Did you ever figure this one out? Something like

ps augx | grep java | grep apache

or

ps augx | grep [some part of the directory where the binaries are installed]

should work fine.

You can also look at the catalina.out log to see if the last lines refer to a shutdown.

tail -n30 /path/to/tomcat/logs/catalina.out
 
Back
Top