springboot程序監控(jconsole 和jvisualVM)

對程序jvm層的監控,java自己已經提供了方法,在啓動程序時 添加以下啓動參數java java -Djava.rmi.server.hostname=192.168.2.39 #ip地址 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 #設置端口 -Dcom.sun.management.jmx
相關文章
相關標籤/搜索