读书人

运用Jconsole监控远程JVM

发布时间: 2012-10-06 17:34:01 作者: rapoo

使用Jconsole监控远程JVM
远程机器JVM参数为-Dcom.sun.management.jmxremote.port=<port> -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false


然后在本机用Jconsole 连接 <IPAdress>:<port>

例如

java -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false ClassName



Jconsole 连接 119.119.114.56:1099

读书人网 >编程

热点推荐