+

Search Tips   |   Advanced Search

ThreadPool monitoring

We can use a ThreadPool MXBean for thread pool monitoring in the Liberty profile.

All Web Requests executes in the thread pool, named Default Executor thread pool. We can monitor the usage of Default Executor thread pool using ThreadPoolMXBean.

The ObjectName for identifying MXBean for thread pool is :

Key Performance data available for ThreadPool are:

Attributes for ThreadPool

  • ActiveThreads

  • PoolSize

  • PoolName (Only supports Default Executor thread pool)

.

Management Interface

The management interface of ThreadPool monitoring is com.ibm.websphere.monitor.jmx.ThreadPoolMXBean. We can use the management interface to obtain a proxy object. See Examples of accessing MBean attributes and operations.

For more information about the management interface, see the Java API document for the Liberty profile. The Java API documentation for each Liberty profile API is detailed in the Programming Interfaces (APIs) section of the information center, and is also available as a separate .zip file in one of the javadoc subdirectories of the ${wlp.install.dir}/dev directory.


Parent topic: Monitoring the Liberty profile