Is Tomcat running? check the tomcat status.

Interested to know how people usually check to see if Tomcat is running on a Unix environment.

I either check that the process is running using

ps -ef | grep java
ps -ef | grep logging

or i check that the port number is active

netstat -a | grep 8080

is there a better way of checking that Tomcat is running? The above seem to be to be a 'hacky' way of checking that Tomcat is running.

same thing you can check in website by typing

http://TOMCAT_SERVER_IP:8080

No comments:

Post a Comment

Thank You for your Comments, We will read and response you soon...