jrockit.management
Interface OperatingSystemMXBean

All Superinterfaces:
java.lang.management.OperatingSystemMXBean

public interface OperatingSystemMXBean
extends java.lang.management.OperatingSystemMXBean

This interface exposes operating system-specific information. It is a JRockit-specific extension of java.lang.management.OperatingSystemMXBean.

Author:
Marcus Hirt

Method Summary
 float getCPULoad()
          Returns the average (over all processors) CPU load on the machine in percent. 0.0 means no load and 100.0 denotes a fully saturated CPU.
 float getVMGeneratedCPULoad()
          Returns the percentage of the load on the machine caused by the JVM. 0.0 means no load is created by the virtual machine, 100.0 means all load is created by the JVM.
 
Methods inherited from interface java.lang.management.OperatingSystemMXBean
getArch, getAvailableProcessors, getName, getVersion
 

Method Detail

getCPULoad

float getCPULoad()
Returns the average (over all processors) CPU load on the machine in percent. 0.0 means no load and 100.0 denotes a fully saturated CPU.

Returns:
the cpu load

getVMGeneratedCPULoad

float getVMGeneratedCPULoad()
Returns the percentage of the load on the machine caused by the JVM. 0.0 means no load is created by the virtual machine, 100.0 means all load is created by the JVM.

Returns:
the JVM generated cpu load


Copyright © 2004-2005 BEA Systems Inc.