命令:

      jconsole

作用:

      jvm进程运行状态的实时、可视化工具

效果:

jvm-监视管理控制台-jconsole

 

连接远程jvm进程:

 

1.首先远程jvm进程,开启了jmx服务:

-Dcom.sun.management.jmxremote    (开启jmx服务)

-Djava.rmi.server.hostname=10.86.53.173   (jmx服务的ip,一般为本机ip)

-Dcom.sun.management.jmxremote.port=5544   (jmx服务的端口号,一般为本机ip)

-Dcom.sun.management.jmxremote.authenticate=false  (是否开启授权服务)

-Dcom.sun.management.jmxremote.ssl=false

 

2.本地输入远端jmx服务的ip:port即可。

相关文章:

  • 2022-01-29
  • 2021-12-13
  • 2021-06-06
  • 2021-09-04
  • 2022-01-04
  • 2021-08-11
  • 2021-10-15
猜你喜欢
  • 2021-12-30
  • 2022-12-23
  • 2021-07-06
  • 2021-12-01
  • 2021-08-03
  • 2022-01-06
  • 2021-07-16
相关资源
相似解决方案