jconsole easy usage

client side

java_home/bin/jconsole.exe

 

service:jmx:rmi:///jndi/rmi://192.168.***.***:8003/jmxrmi

Server side

 

add this parameter

 

-Dcom.sun.management.jmxremote

-Dcom.sun.management.jmxremote.port=8003

-Dcom.sun.management.jmxremote.authenticate=false

-Dcom.sun.management.jmxremote.ssl=false

 

 

Performance penalties

http://forums.java.net/jive/message.jspa?messageID=134629

According to this post, there is only performance penalty when jconsole Connects to the server, around 3-5%.

Other times, no impact.

你可能感兴趣的:(java,.net,sun,performance)