Use the following dotted name pattern for JVM class loading system statistics:
server.jvm.class-loading-system.statistic
With Java SE, additional monitoring information can be obtained from the JVM. Set the monitoring level to LOW to enable the display of this additional information. Set the monitoring level to HIGH to also view information pertaining to each live thread in the system. More information about the additional monitoring features for Java SE is available in Monitoring and Management for the Java Platform.
The Java SE monitoring tools are discussed at http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/technotes/tools/.
The statistics that are available for class loading in the JVM for Java SE are shown in the following table.
Table 8–17 JVM Monitoring Statistics for Java SE Class Loading
Statistic |
Data Type |
Description |
---|---|---|
loadedclasscount |
CountStatistic |
Number of classes that are currently loaded in the JVM |
totalloadedclasscount |
CountStatistic |
Total number of classes that have been loaded since the JVM began execution |
unloadedclasscount |
CountStatistic |
Number of classes that have been unloaded from the JVM since the JVM began execution |
The statistics available for threads in the JVM in Java SE are shown in the following table.
Table 8–18 JVM Monitoring Statistics for Java SE - Threads
Statistic |
Data Type |
Description |
---|---|---|
allthreadids |
StringStatistic |
List of all live thread ids. |
currentthreadcputime |
CountStatistic |
CPU time for the current thread (in nanoseconds) if CPU time measurement is enabled. If CPU time measurement is disabled, returns -1. |
daemonthreadcount |
CountStatistic |
Current number of live daemon threads. |
monitordeadlockedthreads |
StringStatistic |
List of thread ids that are monitor deadlocked. |
peakthreadcount |
CountStatistic |
Peak live thread count since the JVM started or the peak was reset. |
threadcount |
CountStatistic |
Current number of live daemon and non-daemon threads. |
totalstartedthreadcount |
CountStatistic |
Total number of threads created and/or started since the JVM started. |