How to Check the Status of the Apache Tomcat Server (Linux)
Monitoring the JVM is an important part of administering the Apache Tomcat server. The Tomcat manager provides a quick way to check our server's status by displaying how many HTTP threads are active, the storage allocation in the various memory pools plus other helpful data.
To learn how to check the status of the Apache Tomcat Server, follow these 6 steps:
- Start the Tomcat server.
- You'll need to create credentials to access the Tomcat manager. The instructions for setting up a user name and password were contained in Steps 2, 3, and 4 in the topic . You will need to restart the Tomcat server after completing the steps in that topic.
- In the address area of your browser, type
http://localhost:8080/manager/htmland submit that address to the browser.
- You will be challenged for credentials. Provide the user name and password you specified in
tomcat-users.xml(make sure to provide the correct spelling and case):
- The manager web page contains a link to the server status portion of the web page:
- The server status area is displayed:
The "Server Information" panel displays a summary of your environment. The data that follows shows you the storage acquisition in the various memory pools and the thread usage for network communications by connector (e.g., HTTP). Monitoring this data over time will give you a good feeling for the resource consumption of your Tomcat server and may indicate the need to adjust JVM parameters and/or thread attribute values on the