http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html
常用参数
-Dcom.sun.management.jmxremote.port=9990
-Dcom.sun.management.jmxremote.password.file=$JAVA_HOME/jconsole/jmxremote.password
-Dcom.sun.management.jmxremote.ssl=false
注意打开37973端口
注意 hostname -i如果显示127.0.0.1需要修改hosts文件指向本机ip(bug:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6209663)
使用手册
http://docs.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html
727

被折叠的 条评论
为什么被折叠?



