Metrics
public interface Metrics
Modifier and Type | Method | 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; otherwise
returns 0.
|
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 operating system time slice, in
milliseconds, for processes within the Isolation Group.
|
long |
getCpuQuota() |
Returns the total available run-time allowed, in milliseconds,
during each operating system time slice (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.
|
double |
getCpuSetMemoryPressure() |
Returns the (attempts per second * 1000), if enabled, that the
operating system tries to satisfy a memory request for any
process in the current Isolation Group when no free memory is
readily available.
|
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 |
getKernelMemoryFailCount() |
Returns the number of times that kernel memory requests in the
Isolation Group have exceeded the kernel memory limit.
|
long |
getKernelMemoryLimit() |
Returns the maximum amount of kernel physical memory, in bytes, that
can be allocated in the Isolation Group.
|
long |
getKernelMemoryMaxUsage() |
Returns the largest amount of kernel physical memory, in bytes, that
have been allocated in the Isolation Group.
|
long |
getKernelMemoryUsage() |
Returns the amount of kernel physical memory, in bytes, that
is currently allocated in the current Isolation Group.
|
long |
getMemoryAndSwapFailCount() |
Returns the number of times that user memory requests in the
Isolation Group have exceeded the memory + swap limit.
|
long |
getMemoryAndSwapLimit() |
Returns the maximum amount of physical memory and swap space,
in bytes, that can be allocated in the Isolation Group.
|
long |
getMemoryAndSwapMaxUsage() |
Returns the largest amount of physical memory and swap space,
in bytes, that have been 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 |
getMemoryMaxUsage() |
Returns the largest amount of physical memory, in bytes, that
have been 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.
|
java.lang.String |
getProvider() |
Returns the interface responsible for providing the
platform metrics.
|
long |
getTcpMemoryFailCount() |
Returns the number of times that networking memory requests in the
Isolation Group have exceeded the kernel memory limit.
|
long |
getTcpMemoryLimit() |
Returns the maximum amount of networking physical memory, in bytes,
that can be allocated in the Isolation Group.
|
long |
getTcpMemoryMaxUsage() |
Returns the largest amount of networking physical memory, in bytes,
that have been allocated in the Isolation Group.
|
long |
getTcpMemoryUsage() |
Returns the amount of networking physical memory, in bytes, that
is currently allocated in the current Isolation Group.
|
boolean |
isCpuSetExclusive() |
Returns the CPU exclusivity for this Isolation Group.
|
boolean |
isCpuSetMemExclusive() |
Returns the Memory node exclusivity for this Isolation Group.
|
boolean |
isCpuSetMemoryPressureEnabled() |
Returns the state of the memory pressure detection support.
|
boolean |
isMemoryOOMKillEnabled() |
Returns the state of the Operating System Out of Memory termination
policy.
|
static Metrics |
systemMetrics() |
Returns an instance of the Metrics class.
|
static Metrics systemMetrics()
java.lang.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()
getEffectiveCpuSetCpus()
.int[] getEffectiveCpuSetCpus()
int[] getCpuSetMems()
getEffectiveCpuSetMems()
.int[] getEffectiveCpuSetMems()
double getCpuSetMemoryPressure()
isCpuSetMemoryPressureEnabled()
to
to determine if this support is enabled.boolean isCpuSetMemoryPressureEnabled()
boolean isCpuSetExclusive()
getCpuSetCpus()
or
getEffectiveCpuSetCpus()
methods will be exclusive to
this Isolation Group and will not be used for execution of
processes from other Isolation Groups running on the same
host.boolean isCpuSetMemExclusive()
getCpuSetMems()
or
getEffectiveCpuSetMems()
methods will be exclusive to
this Isolation Group and will not be used by processes from
other Isolation Groups running on the same host.long getMemoryFailCount()
long getMemoryLimit()
long getMemoryMaxUsage()
long getMemoryUsage()
long getKernelMemoryFailCount()
long getKernelMemoryLimit()
long getKernelMemoryMaxUsage()
long getKernelMemoryUsage()
long getTcpMemoryFailCount()
long getTcpMemoryLimit()
long getTcpMemoryMaxUsage()
long getTcpMemoryUsage()
long getMemoryAndSwapFailCount()
long getMemoryAndSwapLimit()
long getMemoryAndSwapMaxUsage()
long getMemoryAndSwapUsage()
boolean isMemoryOOMKillEnabled()
long getMemorySoftLimit()
long getBlkIOServiceCount()
long getBlkIOServiced()