GetThreadInfo
Returns the details of a specific thread or all threads running on a particular Java Virtual Machine such as execution information, synchronization statistics of a specific thread or all threads.
Arguments
Argument Name | Description | Required? |
---|---|---|
ThreadName |
The thread name. Empty argument string provides information on all running Java Virtual Machine threads. |
No |
Returns
Item | Description |
---|---|
Thread Name | The name of the thread |
Domain | Domain name of the application |
AppSpace | Name of the AppSpace on which the application is deployed |
AppNode | Name of the AppNode on which the application is running |
Thread ID | The ID of the thread |
Thread State | The state of the thread |
User Time | CPU time spent by the thread in user mode in nanoseconds |
isInNative | Specifies whether it is running native code through the Java Native Interface (JNI) |
Suspended | Specifies whether the thread is suspended |
Blocked Count |
The total number of attempts that the thread is blocked to enter or re-enter a monitor |
Blocked Time |
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 |
Lock Name | The string representation of the monitor lock that the thread is blocked to enter or waiting to be notified |
Lock Owner Name | The thread name that holds the monitor lock of an object on which the thread is blocked |
Lock Owner Id | The thread ID that holds the monitor lock of an object on which the thread is blocked |
Waited Count |
The total count of the number of times the thread waited for notification |
Waited Time | The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since the enabling of thread contention monitoring |
UncaughtException | Uncaught exception of the thread |
StackTrace | Displays stack trace when an exception was thrown |