首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

运用Jconsole监控远程JVM

2012-10-06 
使用Jconsole监控远程JVM远程机器JVM参数为-Dcom.sun.management.jmxremote.portport -Dcom.sun.manage

使用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

热点排行