public interface Metrics
| Modifier and Type | Method and Description |
|---|---|
long |
getBlkIOServiceCount()
Returns the number of block I/O requests to the disk that have been
issued by the Isolation Group.
|
long |
getBlkIOServiced()
Returns the number of block I/O bytes that have been transferred
to/from the disk by the Isolation Group.
|
long |
getCpuNumPeriods()
Returns the number of time-slice periods that have elapsed if
a CPU quota has been setup for the Isolation Group
|
long |
getCpuNumThrottled()
Returns the number of time-slice periods that the group has
been throttled or limited due to the group exceeding its quota
if a CPU quota has been setup for the Isolation Group.
|
long |
getCpuPeriod()
Returns the length of the scheduling period, in
microseconds, for processes within the Isolation Group.
|
long |
getCpuQuota()
Returns the total available run-time allowed, in microseconds,
during each scheduling period for all tasks in the Isolation
Group.
|
int[] |
getCpuSetCpus()
Returns the CPUS that are available for execution of processes
in the current Isolation Group.
|
int[] |
getCpuSetMems()
Returns the memory nodes that are available for use by processes
in the current Isolation Group.
|
long |
getCpuShares()
Returns the relative weighting of processes with the Isolation
Group used for prioritizing the scheduling of processes across
all Isolation Groups running on a host.
|
long |
getCpuSystemUsage()
Returns the aggregate system time, in nanoseconds, consumed by
all tasks in the Isolation Group.
|
long |
getCpuThrottledTime()
Returns the total time duration, in nanoseconds, that the
group has been throttled or limited due to the group exceeding
its quota if a CPU quota has been setup for the Isolation Group.
|
long |
getCpuUsage()
Returns the aggregate time, in nanoseconds, consumed by all
tasks in the Isolation Group.
|
long |
getCpuUserUsage()
Returns the aggregate user time, in nanoseconds, consumed by all
tasks in the Isolation Group.
|
long |
getEffectiveCpuCount()
Returns the number of effective processors that this Isolation
group has available to it.
|
int[] |
getEffectiveCpuSetCpus()
Returns the CPUS that are available and online for execution of
processes within the current Isolation Group.
|
int[] |
getEffectiveCpuSetMems()
Returns the memory nodes that are available and online for use by
processes within the current Isolation Group.
|
long |
getMemoryAndSwapLimit()
Returns the maximum amount of physical memory and swap space,
in bytes, that can be allocated in the Isolation Group.
|
long |
getMemoryAndSwapUsage()
Returns the amount of physical memory and swap space, in bytes,
that is currently allocated in the current Isolation Group.
|
long |
getMemoryFailCount()
Returns the number of times that user memory requests in the
Isolation Group have exceeded the memory limit.
|
long |
getMemoryLimit()
Returns the maximum amount of physical memory, in bytes, that
can be allocated in the Isolation Group.
|
long |
getMemorySoftLimit()
Returns the hint to the operating system that allows groups
to specify the minimum amount of physical memory that they need to
achieve reasonable performance in low memory systems.
|
long |
getMemoryUsage()
Returns the amount of physical memory, in bytes, that is currently
allocated in the current Isolation Group.
|
long[] |
getPerCpuUsage()
Returns the aggregate time, in nanoseconds, consumed by all tasks in
the Isolation Group, separated by CPU.
|
String |
getProvider()
Returns the interface responsible for providing the
platform metrics.
|
long |
getTcpMemoryUsage()
Returns the amount of networking physical memory, in bytes, that
is currently allocated in the current Isolation Group.
|
static Metrics |
systemMetrics()
Returns an instance of the Metrics class.
|
static Metrics systemMetrics()
String getProvider()
long getCpuUsage()
long[] getPerCpuUsage()
long getCpuUserUsage()
long getCpuSystemUsage()
long getCpuPeriod()
long getCpuQuota()
long getCpuShares()
long getCpuNumPeriods()
long getCpuNumThrottled()
long getCpuThrottledTime()
long getEffectiveCpuCount()
Runtime.availableProcessors().int[] getCpuSetCpus()
Metrics.getEffectiveCpuSetCpus() }.int[] getEffectiveCpuSetCpus()
int[] getCpuSetMems()
Metrics.getEffectiveCpuSetMems().int[] getEffectiveCpuSetMems()
long getMemoryFailCount()
long getMemoryLimit()
long getMemoryUsage()
long getTcpMemoryUsage()
long getMemoryAndSwapLimit()
long getMemoryAndSwapUsage()
long getMemorySoftLimit()
long getBlkIOServiceCount()
long getBlkIOServiced()