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

猜你喜欢

转载自rayoo.iteye.com/blog/2222797
今日推荐