Enable PMI data collection

 

+

Search Tips   |   Advanced Search

 

By default Performance Monitoring Infrastructure (PMI) is enabled out-of-the-box.

PMI should be enabled before the server starts. If PMI is enabled after the server is started, the server needs to be restarted to start the PMI.

When PMI service is enabled, the monitoring of individual components can be enabled or disabled dynamically. PMI provides four predefined statistic sets that can be used to enable a set of statistics. The following table provides details about the statistic sets. If the predefined statistic sets does not meet your monitoring requirement, the Custom option can be used to selectively enable or disable individual statistics.

Statistic set Description
None All statistics are disabled.
Basic Statistics specified in J2EE 1.4, as well as top statistics like CPU usage and live HTTP sessions are enabled.
Extended Basic set plus key statistics from various WAS components like WLM and Dynamic caching are enabled.
All All statistics are enabled.
Custom Enable or disable statistics selectively.

 

Custom setting

We can enable/disable statistics individually under the custom statistic set.

Though the V5.x monitoring levels {N, L, M, H, X} are deprecated in V6.0, the 5.x PMI APIs are supported for backward compatibility. It is possible to use a V6.0 API to set the monitoring level and a V5.0 API to get the monitoring level.

A new level, 'F' fine-grained indicates to the V5.x API that the fine-grained or V6.0 monitoring specification is in effect. This new level 'F' will be returned if a V5.x API is used to get the monitoring level from a server using V6.0 monitoring specification.

 

Sequential Update

In order to minimize the monitoring overhead, the updates to...

  • CountStatistic,
  • AverageStatistic,
  • TimeStatistic

...are not synchronized. Since these statistic types track total and average, the extra accuracy is generally not worth the performance cost.

RangeStatistic and BoundedRangeStatistic are very sensitive, therefore, they are always are synchronized. If needed, updates to all the statistic types can be synchronized by checking the Use sequential update check box.

 

See also


Enabling PMI using the administrative console
Enabling Performance Monitoring Infrastructure using the wsadmin tool
Enabling the Java Virtual Machine Profiler Interface data