public interface OperatingSystemMXBean
extends java.lang.management.OperatingSystemMXBean
Modifier and Type | Method and Description |
---|---|
long |
getFreePhysicalMemorySize()
Returns the amount of physical memory that is available on the
system in bytes.
|
long |
getProcessCpuTime()
Returns total amount of time the process has been scheduled or
executed so far in both kernel and user modes.
|
long |
getProcessCpuTimeByNS()
Returns total amount of time the process has been scheduled or
executed so far in both kernel and user modes.
|
int |
getProcessingCapacity()
Returns the collective capacity of the virtual processors in
the partition the VM is running in.
|
long |
getProcessPhysicalMemorySize()
Returns the amount of physical memory being used by the process
in bytes.
|
long |
getProcessPrivateMemorySize()
Returns the amount of private memory used by the process in bytes.
|
long |
getProcessVirtualMemorySize()
Returns the amount of virtual memory used by the process in bytes,
including physical memory and swap space.
|
long |
getTotalPhysicalMemory()
Returns the total number of bytes used for physical memory.
|
long getTotalPhysicalMemory()
int getProcessingCapacity()
long getProcessCpuTime()
long getProcessCpuTimeByNS()
long getFreePhysicalMemorySize()
long getProcessVirtualMemorySize()
long getProcessPrivateMemorySize()
long getProcessPhysicalMemorySize()