用jconsole监测tomcat
首先需要配置tomcat
configure tomcat-java-java option
-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
然后在命令行jconsole打开jconsole输入连接地址及端口即可