Tomcat JMX 监控

1:

TOMCAT setenv.sh:

 

set JAVA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1011 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=tech

 

2:

jconsole:

service:jmx:rmi:///jndi/rmi://172.31.68.40:1011/jmxrmi

localhost:1011

 

jvisualvm

你可能感兴趣的:(tomcat)