tomcat查看jvm内存

TOMCAT在运行过程中可以实时监控当前应用JVM的占用情况

<rolerolename="tomcat"/>                                              <rolerolename="role1"/>                                               <rolerolename="manager"/>                                                                                   
<rolerolename="admin"/>                                                                                        
<user username="tomcat" password="tomcat" roles="tomcat"/>                    
<user username="both" password="tomcat" roles="tomcat,role1"/>              
  <user username="role1" password="tomcat" roles="role1"/>                          
  <user username="admin" password="tomcat" roles="admin,manager"/>

输入
http://localhost:8080/manager/status/
查看
Free memory: 268.49 MB Total memory: 508.12 MB Max memory: 1016.12 MB

猜你喜欢

转载自ren00317574.iteye.com/blog/1764767