TABLE18–22 JVMStatistics for Java SE - Runtime (Continued)
Statistic DataType Description
managementspecversion StringStatistic Managementspec. version implemented
bythe JVM.
classpath StringStatistic Classpaththat is used by the system class
loaderto search for class les.
librarypath StringStatistic Javalibrary path.
bootclasspath StringStatistic Classpaththat is used by the bootstrap
classloader to search for class les.
inputarguments StringStatistic Inputarguments passed to the JVM. Does
notinclude the arguments to the main
method.
uptime CountStatistic Uptimeofthe JVM (in milliseconds).
Thestatistics available for ThreadInfo in the JVM in Java SE are shown in the following table.
TABLE18–23 JVMStatistics for Java SE - Thread Info
Statistic DataType Description
threadid CountStatistic IDofthe thread.
threadname StringStatistic Nameof the thread.
threadstate StringStatistic Stateof the thread.
blockedtime CountStatistic Timeelapsed(in milliseconds) since the
threadentered the BLOCKED state. Returns
-1if thread contention monitoring is
disabled.
blockedcount CountStatistic Totalnumberof times that the thread
enteredthe BLOCKED state.
waitedtime CountStatistic Elapsedtime(in milliseconds) that the
threadhas been in a WAITING state.
Returns-1 if thread contention
monitoringis disabled.
waitedcount CountStatistic Totalnumberof times the thread was in
WAITINGor TIMED_WAITING states.
lockname StringStatistic Stringrepresentation of the monitor lock
thatthe thread is blocked to enter or
waitingto be notied through the
Object.waitmethod.
AboutMonitoring
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 2008190