A ahmettaha Registered Nov 10, 2006 #1 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
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
B billbaloney House pianist Nov 29, 2006 #2 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
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
A ahmettaha Registered Nov 30, 2006 #3 yes, I figured it out a while back and even made a widget that controls tomcat. thanks for the help. you can find it at http://www.macupdate.com/info.php/id/23315
yes, I figured it out a while back and even made a widget that controls tomcat. thanks for the help. you can find it at http://www.macupdate.com/info.php/id/23315