Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is it like to monitor JVM memory usage in Tomcat

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article shows you how to monitor JVM memory usage in Tomcat. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

The application manager with Tomcat itself can monitor the JVM memory of the server status. In order to run the program, you need to create the role manager and the corresponding user.

The creation location is in conf/tomcat-users.xml and the content is as follows:

Tomcat-users >

After creating the role manager and the user admin/tomcat, you can use the manager application.

Type httpp://localhost:8080 in IE, enter the main interface of tomcat, and then select the

Administration

Under the Tomcat Manager, enter the user name and password (admin/tomcat) to enter the interface of manager

Select "Server Status" on the far right and you can see the occupancy of JVM.

Free memory: 3.69 MB Total memory: 10.60 MB Max memory: 63.31 MB

Free memory: currently available memory

Total memory: currently allocated Tomcat JVM memory

Max memory: the maximum Tomcat JVM memory currently allowed to be allocated

The above content is to monitor JVM memory usage in Tomcat. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 224

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report