用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输入连接地址及端口即可

posted @ 2010-06-30 21:17  macula7  阅读(121)  评论(0编辑  收藏  举报