|
Monitoring and Management Interface for the Java Platform | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperatingSystemMXBean
Platform-specific management interface for the operating system on which the Java virtual machine is running.
The OperatingSystemMXBean object returned by
ManagementFactory.getOperatingSystemMXBean()
is an instance of the implementation class of this interface
or UnixOperatingSystemMXBean
interface depending on
its underlying operating system.
Method Summary | |
---|---|
long |
getCommittedVirtualMemorySize()
Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes, or -1 if this operation is not supported. |
long |
getFreePhysicalMemorySize()
Returns the amount of free physical memory in bytes. |
long |
getFreeSwapSpaceSize()
Returns the amount of free swap space in bytes. |
long |
getProcessCpuTime()
Returns the CPU time used by the process on which the Java virtual machine is running in nanoseconds. |
long |
getTotalPhysicalMemorySize()
Returns the total amount of physical memory in bytes. |
long |
getTotalSwapSpaceSize()
Returns the total amount of swap space in bytes. |
Methods inherited from interface java.lang.management.OperatingSystemMXBean |
---|
getArch, getAvailableProcessors, getName, getSystemLoadAverage, getVersion |
Method Detail |
---|
long getCommittedVirtualMemorySize()
long getTotalSwapSpaceSize()
long getFreeSwapSpaceSize()
long getProcessCpuTime()
long getFreePhysicalMemorySize()
long getTotalPhysicalMemorySize()
|
Monitoring and Management Interface for the Java Platform | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |