Flags to enable jmx

JMX is the xray of the Java world, it allows you to see threads and memory snapshots, debug and track unoptimized hotspots in your application. The JDK comes with the excellent tool, Mission Control that allows you to connect to a running JVM and collect insights from it.

To configure the JVM for this connection, use these arguments, e.g. in your JAVA_OPTS.

-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.port=7199 

Enter fullscreen mode Exit fullscreen mode

原文链接:Flags to enable jmx

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容