probe监控Tomcat性能

1.下载开源的PSI Probe

2.解压Zip包,把probe.war复制到Tomcat_home/webapp目录下

3.修改tomcat-users.xml,加入下列角色和用户

<role rolename="tomcat"/> 
<role rolename="role1"/> 
<role rolename="manager-gui"/>
<role rolename="manager"/>
<role rolename="admin-gui"/> 
<role rolename="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="" roles="admin-gui,admin,manager-gui,manager"/>

 

4.Tomcat的JVM参数中,加入-Dcom.sun.management.jmxremote=true

 

5.启动Tomcat,通过http://tomcat_ip:8080/probe来访问监控应用

用户名admin,密码为空



 

  • System information


  •  

 

 

 

  • JVM memory usage



 

 

application summary



 

servlets



 

 

你可能感兴趣的:(Tomcat性能,probe)