ThreadMXBean Platform MBean: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
=Metrics=
=Metrics=


==ThreadCount==
====ThreadCount====


The current number of live threads including both daemon and non-daemon threads.
The current number of live threads including both daemon and non-daemon threads.


==DaemonThreadCount==
====DaemonThreadCount====


==PeakThreadCount==
====PeakThreadCount====


==TotalStartedThreadCount==
====TotalStartedThreadCount====


==CurrentThreadCpuTime==
====CurrentThreadCpuTime====


==CurrentThreadUserTime==
====CurrentThreadUserTime====

Revision as of 14:41, 11 May 2017

External

Internal

Overview

Represents the management interface for the thread system of the Java virtual machine.

JMX clients can look it up using its ObjectName:

java.lang:type=Threading

Metrics

ThreadCount

The current number of live threads including both daemon and non-daemon threads.

DaemonThreadCount

PeakThreadCount

TotalStartedThreadCount

CurrentThreadCpuTime

CurrentThreadUserTime