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.
Name | Key | Description | Granularity | Type | Level | Overhead |
CreateCount | threadPoolModule.threadCreates | The total number of threads created | Per thread pool | CountStatistic | All | Low |
DestroyCount | threadPoolModule.threadDestroys | The total number of threads destroyed | Per thread pool | CountStatistic | All | Low |
ActiveCount | threadPoolModule.activeThreads | The number of concurrently active threads | Per thread pool | BoundedRangeStatistic | Extended | High |
PoolSize | threadPoolModule.poolSize | The average number of threads in pool | Per thread pool | BoundedRangeStatistic | Basic | High |
PercentMaxed | threadPoolModule.percentMaxed | The average percent of the time that all threads are in use | Per thread pool | BoundedRangeStatistic | All | High |
DeclaredthreadHungCount | threadPoolModule.declaredThreadHung | The number of threads declared hung | Per thread pool | CountStatistic | All | Max |
ClearedThreadHangCount | threadPoolModule.declaredThreadHangCleared | The number of thread hangs cleared | Per thread pool | CountStatistic | All | Max |
ConcurrentHungThreadCount | threadPoolModule.concurrentlyHungThreads | The number of concurrently hung threads | Per thread pool | BoundedRangeStatistic | All | Max |
ActiveTime | threadPoolModule.activeTime | The average time in milliseconds the threads are in active state | Per thread pool | TimeStatistic | All | Max |