Thread pool counters
You can use the thread pool counters that the Performance Monitoring Infrastructure (PMI) and Tivoli® Performance Viewer (TPV) collect to monitor your thread pool activity.
Counter definitions
Name | Key | Description | Granularity | Type | Level | Overhead | ID |
---|---|---|---|---|---|---|---|
CreateCount | threadPoolModule.threadCreates | The total number of threads created | Per thread pool | CountStatistic | All | Low | 1 |
DestroyCount | threadPoolModule.threadDestroys | The total number of threads destroyed | Per thread pool | CountStatistic | All | Low | 2 |
ActiveCount | threadPoolModule.activeThreads | The number of concurrently active threads Note: The
ActiveCount value can include a count for a long-running thread that
is used for asynchronous I/O. Under these circumstances, it is possible
that even when there is no apparent activity on the thread pool, the
ActiveCount value will never reach zero
|
Per thread pool | BoundedRangeStatistic | Extended | High | 3 |
PoolSize | threadPoolModule.poolSize | The average number of threads in pool | Per thread pool | BoundedRangeStatistic | Basic | High | 4 |
PercentUsed | threadPoolModule.percentUsed | The average percent of the pool that is in use. The value is based on the total number of configured threads in the ThreadPool and not the current pool size. | Per thread pool | BoundedRangeStatistic | All | High | 10 |
PercentMaxed | threadPoolModule.percentMaxed | The average percent of the time that all threads are in use | Per thread pool | BoundedRangeStatistic | All | High | 5 |
DeclaredthreadHungCount | threadPoolModule.declaredThreadHung | The number of threads declared hung | Per thread pool | CountStatistic | All | Max | 6 |
ClearedThreadHangCount | threadPoolModule.declaredThreadHangCleared | The number of thread hangs cleared | Per thread pool | CountStatistic | All | Max | 7 |
ConcurrentHungThreadCount | threadPoolModule.concurrentlyHungThreads | The number of concurrently hung threads | Per thread pool | BoundedRangeStatistic | All | Max | 8 |
ActiveTime | threadPoolModule.activeTime | The average time in milliseconds the threads
are in active state Note: ActiveTime will be updated
when the hung threads are cleared (The threads have completed their
processing).
|
Per thread pool | TimeStatistic | All | Max | 9 |