getThreadInfo

Method

Purpose

Returns general, execution information and synchronization statistics of Thread by Thread Name, Java Virtual Machine process name and/or Thread State. It returns general, execution information and synchronization statistics of all thread(s) of particular Java virtual machine, if the Thread Name argument is blank. The Process Name field is mandatory and cannot be left blank.

Type

Synchronous, IMPACT_INFO

Arguments

 

Name

Type

Description

Thread Name

String

The thread name. Empty argument string provides information on all running Java Virtual Machine threads.

Java Virtual Machine Process Name

String

The Java Virtual Machine process name.

Thread State

Thread State Possible Values:

Blank
NEW
RUNNABLE
BLOCKED
WAITING
TIME_WAITING
TERMINATED

String

The Thread State. Empty argument string provides information on all threads irrespective of the state.

Returns

 

Name

Type

Description

Virtual Machine Process Id

String

Process Id of Java Virtual Machine process

Virtual Machine Process Name

String

The name of representing the running Java Virtual Machine

Thread Id

String

The ID of the thread

Thread Name

String

The name of the thread

Thread State

String

The state of the thread

Suspended

String

Denotes whether the thread is suspended

isInNative

String

Denotes whether it is executing native code via the Java Native Interface (JNI)

Blocked Count

String

The total number of attempts that the thread is blocked to enter or re-enter a monitor

Blocked Time

String

The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or re-enter a monitor since the enabling of thread contention monitoring

Waited Count

String

The total count of the number of times the thread waited for notification

Waited Time

String

The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since the enabling of thread contention monitoring

Thread User Time

String

CPU time executed by the thread in user mode in nanoseconds

Lock Name

String

The string representation of the monitor lock that the thread is blocked to enter or waiting to be notified through the Object.wait method

Lock Owner Id

String

The thread ID which holds the monitor lock of an object on which the thread is blocked

Lock Owner Name

String

The thread name which holds the monitor lock of an object on which the thread is blocked