TABLE18–23 JVMStatistics for Java SE - Thread Info (Continued)
Statistic DataType Description
lockownerid CountStatistic IDof the thread that holds the monitor
lockof an object on which this thread is
blocking.
lockownername StringStatistic Nameof the thread that holds the monitor
lockof the object this thread is blocking
on.
stacktrace StringStatistic Stack trace associated with this thread.

Thestatistics available for threads in the JVM in Java SE are shown in the following table.

TABLE18–24 JVMStatistics for Java SE - Threads
Statistic DataType Description
threadcount CountStatistic Currentnumber of live daemon and
non-daemonthreads.
peakthreadcount CountStatistic Peaklive thread count since the JVM
startedor the peak was reset.
totalstartedthreadcount CountStatistic Totalnumber of threads created and/or
startedsince the JVM started.
daemonthreadcount CountStatistic Currentnumber of live daemon threads.
allthreadids StringStatistic List of all live thread ids.
currentthreadcputime CountStatistic CPUtime for the current thread (in
nanoseconds)if CPU time measurement is
enabled.If CPU time measurement is
disabled,returns -1.
monitordeadlockedthreads StringStatistic List of thread ids that are monitor
deadlocked.
Enabling and Disabling Monitoring

Thissection contains the following topics:

“ConguringMonitoring Levels Using the Admin Console” on page 192
“ToCongure Monitoring Levels Using asadmin” on page 192
EnablingandDisabling Monitoring
Chapter18 • Monitoring Components and Ser vices 191