jvm console远程连接liunx服务器:

在linux服务器上找到服务启动程序run.sh,在文件中添加配置如下:

nohup java -jar -Djava.rmi.server.hostname=114.116.119.117 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8099 -Dcom.sun.management.jmxremote.rmi.port=8099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false manage-1.0.1.jar &

authenticate=false:远程连接是否需要密码,false为不安全连接,不需要密码;

客户端windows,在jdk安装目录找到jconsole:

jvm console 客户端windows 远程连接liunx服务器

连接远程服务器:

jvm console 客户端windows 远程连接liunx服务器

jvm console 客户端windows 远程连接liunx服务器

相关文章:

  • 2021-12-16
  • 2021-06-30
  • 2021-11-20
  • 2021-07-02
  • 2021-08-21
  • 2021-07-28
  • 2021-08-07
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2021-11-07
  • 2021-06-17
  • 2021-04-17
  • 2021-11-14
相关资源
相似解决方案