jconsole的配置

 

windows:

set JAVA_OPTS=-Dcom.sun.management.jmxremote.port=<port> -Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
 
AIX\Linux
export JAVA_OPTS="-Dcom.sun.management.jmxremote.port=<port> -Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false"
 
<port>替换为端口号
 
启动应用后,就可以在java_home/bin下启动jconsole.exe监控应用程序内存了
posted @ 2012-05-11 05:53  DB&*NIX  阅读(625)  评论(0编辑  收藏  举报