VisualVM
Jump to navigation
Jump to search
External
- Java 7 http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/index.html
- Java 6 http://download.oracle.com/javase/6/docs/technotes/guides/visualvm/index.html
Internal
Overview
VisualVM is a graphical tool that ships with Oracle JDK 6 and newer, allowing for visualization of various internal JVM metrics (memory, threads, application’s JMX interfaces).
Installation
VisualVM comes as part of the Java SDK, so it is installed by default.
Running
Assuming the $JAVA_HOME/bin is in your PATH, VisualVM can be run by simply executing:
jvisualvm
VisualVM and jstatd
VisualVM is apparently able to auto-discover JVMs running on remote hosts with the help of jstatd. Expand this section when I am in the situation to use it.