springboot程序监控(jconsole 和jvisualVM)

对程序jvm层的监控,java本身已经提供了方法,在启动程序时 添加如下启动参数 java -Djava.rmi.server.hostname=192.168.2.39 #ip地址 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 #设置端口 -Dcom.sun.management.jmxremo
相关文章
相关标签/搜索