HotSpotâ„¢ Monitoring Tools and Utilities
-XX:+UsePerfData
You can use the following tools from the Java SE 6 JDK to monitor JVM performance and resource consumption. The tools described in this section are unsupported and experimental, and should be used with that in mind. They may not be available for future JDK versions.
Platform support:
Tool Name | Brief Description |
---|---|
jps | Experimental: JVM Process Status Tool - Lists instrumented HotSpot Java virtual machines on a target system. (formerly jvmps) |
jstat | Experimental: JVM Statistics Monitoring Tool - Attaches to an instrumented HotSpot Java virtual machine and collects and logs performance statistics as specified by the command line options. (formerly jvmstat) |
jstatd | Experimental: JVM jstat Daemon - Launches an RMI server application that monitors for the creation and termination of instrumented HotSpot Java virtual machines and provides a interface to allow remote monitoring tools to attach to Java virtual machines running on the local system. (formerly perfagent) |
You can use the following tools from the jvmstat 3.0 distribution to monitor JVM performance and resource consumption. The tools described in this section are unsupported and experimental, and should be used with that in mind. They may not be available for future JDK versions.
Platform support:
Tool Name | Brief Description |
---|---|
visualgc | Experimental: Visual Garbage Collection Monitoring Tool - a graphical tool for monitoring the HotSpot Garbage Collector, Compiler, and class loader. It can monitor both local and remote JVMs. |
download and install the Java SE 6 JDK UNIX platforms Windows platforms