jvm调优工具的使用springboot

2020-04-11  本文已影响0人  不知不怪

1参考

https://www.jianshu.com/p/923580d3a5a2

2启动时

java \
 -Dcom.sun.management.jmxremote.authenticate=false \
 -Dcom.sun.management.jmxremote.ssl=false \
 -Dcom.sun.management.jmxremote.port=1099 \
 -Djava.rmi.server.hostname=192.168.145.138 \
 -jar 01-spring-boot-helloWorld-1.0.jar &

hostname 本机IP
port :jmx 端口

3启用jconsole或jvisualvm

上一篇下一篇

猜你喜欢

热点阅读