Next Topic

Previous Topic

Book Contents

JVM performance monitor

The JVM performance monitor uses JMX to query Java bean objects and their data. The monitor compares Java bean values with a compare value using a compare operation. If the compare operation evaluates to false the monitor fails the test. Optionally two performance counters can be queried and combined before being compared with the compare value.

Monitoring Average CPU Usage

All bean objects and their data use the Data type Java VM performance data, except for the following combination of settings:

In this case an average CPU usage—similar to the CPU usage that is displayed in JConsole—is calculated by fetching two samples of the ProcessCpuTime counter with a known time delay between them. Optionally displays data in percent.

Configuration

;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Java\jre7\bin\client

Monitor specific properties

Note: Only monitor specific settings are documented here. See Standard monitor settings.