使用JConsole 监控 springboot 项目

项目启动参数增长如下选项便可:java -Djava.rmi.server.hostname=192.168.0.174 (服务所在IP)bash -Dcom.sun.management.jmxremote测试 -Dcom.sun.management.jmxremote.port=9192 (JConsole要链接的端口,不能与项目同样)code -Dcom.sun.management.jm
相关文章
相关标签/搜索