com.ibm.lang.management
Interface OperatingSystemMXBean

All Superinterfaces:
java.lang.management.OperatingSystemMXBean

public interface OperatingSystemMXBean
extends java.lang.management.OperatingSystemMXBean

The IBM-specific interface for monitoring the operating system where the virtual machine is running.

Since:
1.5

Method Summary
 int getProcessingCapacity()
          Returns the collective capacity of the virtual processors in the partition the VM is running in.
 long getTotalPhysicalMemory()
          Returns the total number of bytes used for physical memory.
 
Methods inherited from interface java.lang.management.OperatingSystemMXBean
getArch, getAvailableProcessors, getName, getVersion
 

Method Detail

getTotalPhysicalMemory

long getTotalPhysicalMemory()
Returns the total number of bytes used for physical memory.

Returns:
the number of bytes used for physical memory

getProcessingCapacity

int getProcessingCapacity()
Returns the collective capacity of the virtual processors in the partition the VM is running in. The value returned is in units of 1% of a physical processor's capacity, so a value of 100 is equal to 1 physical processor. In environments without such partitioning support, this call will return getAvailableProcessors() * 100.

Returns:
the collective capacity of the virtual processors available to the VM