| Modifier and Type | Field and Description |
|---|---|
| private final CgroupSubsystem |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | getBlkIOServiceCount()
Implements jdk. Returns the number of block I/O requests to the disk that have been issued by the Isolation Group. |
| public long | getBlkIOServiced()
Implements jdk. Returns the number of block I/O bytes that have been transferred to/from the disk by the Isolation Group. |
| public long | getCpuNumPeriods()
Implements jdk. Returns the number of time-slice periods that have elapsed if a CPU quota has been setup for the Isolation Group |
| public long | getCpuNumThrottled()
Implements jdk. 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. |
| public long | getCpuPeriod()
Implements jdk. Returns the length of the scheduling period, in microseconds, for processes within the Isolation Group. |
| public long | getCpuQuota()
Implements jdk. Returns the total available run-time allowed, in microseconds, during each scheduling period for all tasks in the Isolation Group. |
| public int[] | getCpuSetCpus()
Implements jdk. Returns the CPUS that are available for execution of processes in the current Isolation Group. |
| public int[] | getCpuSetMems()
Implements jdk. Returns the memory nodes that are available for use by processes in the current Isolation Group. |
| public long | getCpuShares()
Implements jdk. 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. |
| public long | getCpuSystemUsage()
Implements jdk. Returns the aggregate system time, in nanoseconds, consumed by all tasks in the Isolation Group. |
| public long | getCpuThrottledTime()
Implements jdk. 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. |
| public long | getCpuUsage()
Implements jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group. |
| public long | getCpuUserUsage()
Implements jdk. Returns the aggregate user time, in nanoseconds, consumed by all tasks in the Isolation Group. |
| public long | getEffectiveCpuCount()
Implements jdk. Returns the number of effective processors that this Isolation group has available to it. |
| public int[] | getEffectiveCpuSetCpus()
Implements jdk. Returns the CPUS that are available and online for execution of processes within the current Isolation Group. |
| public int[] | getEffectiveCpuSetMems()
Implements jdk. Returns the memory nodes that are available and online for use by processes within the current Isolation Group. |
| public static Metrics | |
| public long | getMemoryAndSwapLimit()
Implements jdk. Returns the maximum amount of physical memory and swap space, in bytes, that can be allocated in the Isolation Group. |
| public long | getMemoryAndSwapUsage()
Implements jdk. Returns the amount of physical memory and swap space, in bytes, that is currently allocated in the current Isolation Group. |
| public long | getMemoryFailCount()
Implements jdk. Returns the number of times that user memory requests in the Isolation Group have exceeded the memory limit. |
| public long | getMemoryLimit()
Implements jdk. Returns the maximum amount of physical memory, in bytes, that can be allocated in the Isolation Group. |
| public long | getMemorySoftLimit()
Implements jdk. 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. |
| public long | getMemoryUsage()
Implements jdk. Returns the amount of physical memory, in bytes, that is currently allocated in the current Isolation Group. |
| public long[] | getPerCpuUsage()
Implements jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group, separated by CPU. |
| public long | getPidsCurrent()
Implements jdk. Returns the current number of tasks in the Isolation Group. |
| public long | getPidsMax()
Implements jdk. Returns the maximum number of tasks that may be created in the Isolation Group. |
| public String | getProvider()
Implements jdk. Returns the interface responsible for providing the platform metrics. |
| public long | getTcpMemoryUsage()
Implements jdk. Returns the amount of networking physical memory, in bytes, that is currently allocated in the current Isolation Group. |
| private static native long | |
| private static native long | |
| public boolean | isContainerized()
Implements jdk. Determines whether or not the underlying system has useful metrics (a.k.a. is containerized). |
| private static native boolean | |
| private static native boolean |
| subsystem | back to summary |
|---|---|
| private final CgroupSubsystem subsystem | |
| CgroupMetrics | back to summary |
|---|---|
| pack-priv CgroupMetrics(CgroupSubsystem subsystem) | |
| getBlkIOServiceCount | back to summary |
|---|---|
| public long getBlkIOServiceCount() Implements jdk. Doc from jdk. Returns the number of block I/O requests to the disk that have been issued by the Isolation Group.
| |
| getBlkIOServiced | back to summary |
|---|---|
| public long getBlkIOServiced() Implements jdk. Doc from jdk. Returns the number of block I/O bytes that have been transferred to/from the disk by the Isolation Group.
| |
| getCpuNumPeriods | back to summary |
|---|---|
| public long getCpuNumPeriods() Implements jdk. Doc from jdk. Returns the number of time-slice periods that have elapsed if a CPU quota has been setup for the Isolation Group
| |
| getCpuNumThrottled | back to summary |
|---|---|
| public long getCpuNumThrottled() Implements jdk. Doc from jdk. 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.
| |
| getCpuPeriod | back to summary |
|---|---|
| public long getCpuPeriod() Implements jdk. Doc from jdk. Returns the length of the scheduling period, in microseconds, for processes within the Isolation Group.
| |
| getCpuQuota | back to summary |
|---|---|
| public long getCpuQuota() Implements jdk. Doc from jdk. Returns the total available run-time allowed, in microseconds, during each scheduling period for all tasks in the Isolation Group.
| |
| getCpuSetCpus | back to summary |
|---|---|
| public int[] getCpuSetCpus() Implements jdk. Doc from jdk. Returns the CPUS that are available for execution of processes
in the current Isolation Group. The size of the array is equal
to the total number of CPUs and the elements in the array are the
physical CPU numbers that are available. Some of the CPUs returned
may be offline. To get the current online CPUs, use
| |
| getCpuSetMems | back to summary |
|---|---|
| public int[] getCpuSetMems() Implements jdk. Doc from jdk. Returns the memory nodes that are available for use by processes
in the current Isolation Group. The size of the array is equal
to the total number of nodes and the elements in the array are the
physical node numbers that are available. Some of the nodes returned
may be offline. To get the current online memory nodes, use
| |
| getCpuShares | back to summary |
|---|---|
| public long getCpuShares() Implements jdk. Doc from jdk. 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.
| |
| getCpuSystemUsage | back to summary |
|---|---|
| public long getCpuSystemUsage() Implements jdk. Doc from jdk. Returns the aggregate system time, in nanoseconds, consumed by all tasks in the Isolation Group.
| |
| getCpuThrottledTime | back to summary |
|---|---|
| public long getCpuThrottledTime() Implements jdk. Doc from jdk. 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.
| |
| getCpuUsage | back to summary |
|---|---|
| public long getCpuUsage() Implements jdk. Doc from jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group.
| |
| getCpuUserUsage | back to summary |
|---|---|
| public long getCpuUserUsage() Implements jdk. Doc from jdk. Returns the aggregate user time, in nanoseconds, consumed by all tasks in the Isolation Group.
| |
| getEffectiveCpuCount | back to summary |
|---|---|
| public long getEffectiveCpuCount() Implements jdk. Doc from jdk. Returns the number of effective processors that this Isolation
group has available to it. This effective processor count is
computed based on the number of dedicated CPUs, CPU shares and
CPU quotas in effect for this isolation group.
This method returns the same value as
| |
| getEffectiveCpuSetCpus | back to summary |
|---|---|
| public int[] getEffectiveCpuSetCpus() Implements jdk. Doc from jdk. Returns the CPUS that are available and online for execution of processes within the current Isolation Group. The size of the array is equal to the total number of CPUs and the elements in the array are the physical CPU numbers.
| |
| getEffectiveCpuSetMems | back to summary |
|---|---|
| public int[] getEffectiveCpuSetMems() Implements jdk. Doc from jdk. Returns the memory nodes that are available and online for use by processes within the current Isolation Group. The size of the array is equal to the total number of nodes and the elements in the array are the physical node numbers.
| |
| getInstance | back to summary |
|---|---|
| public static Metrics getInstance() | |
| getMemoryAndSwapLimit | back to summary |
|---|---|
| public long getMemoryAndSwapLimit() Implements jdk. Doc from jdk. Returns the maximum amount of physical memory and swap space, in bytes, that can be allocated in the Isolation Group.
| |
| getMemoryAndSwapUsage | back to summary |
|---|---|
| public long getMemoryAndSwapUsage() Implements jdk. Doc from jdk. Returns the amount of physical memory and swap space, in bytes, that is currently allocated in the current Isolation Group.
| |
| getMemoryFailCount | back to summary |
|---|---|
| public long getMemoryFailCount() Implements jdk. Doc from jdk. Returns the number of times that user memory requests in the Isolation Group have exceeded the memory limit. | |
| getMemoryLimit | back to summary |
|---|---|
| public long getMemoryLimit() Implements jdk. Doc from jdk. Returns the maximum amount of physical memory, in bytes, that can be allocated in the Isolation Group.
| |
| getMemorySoftLimit | back to summary |
|---|---|
| public long getMemorySoftLimit() Implements jdk. Doc from jdk. 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. This allows host systems to provide greater sharing of memory.
| |
| getMemoryUsage | back to summary |
|---|---|
| public long getMemoryUsage() Implements jdk. Doc from jdk. Returns the amount of physical memory, in bytes, that is currently allocated in the current Isolation Group.
| |
| getPerCpuUsage | back to summary |
|---|---|
| public long[] getPerCpuUsage() Implements jdk. Doc from jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group, separated by CPU. If the current process is running within a container, the reported time will only be valid for processes running within the same container. The values are returned in an array, one entry for each physical processor on the system. Time values for processors unavailable to this Group are undefined.
| |
| getPidsCurrent | back to summary |
|---|---|
| public long getPidsCurrent() Implements jdk. Doc from jdk. Returns the current number of tasks in the Isolation Group.
| |
| getPidsMax | back to summary |
|---|---|
| public long getPidsMax() Implements jdk. Doc from jdk. Returns the maximum number of tasks that may be created in the Isolation Group.
| |
| getProvider | back to summary |
|---|---|
| public String getProvider() Implements jdk. Doc from jdk. Returns the interface responsible for providing the platform metrics.
| |
| getTcpMemoryUsage | back to summary |
|---|---|
| public long getTcpMemoryUsage() Implements jdk. Doc from jdk. Returns the amount of networking physical memory, in bytes, that is currently allocated in the current Isolation Group.
| |
| getTotalMemorySize0 | back to summary |
|---|---|
| private static native long getTotalMemorySize0() | |
| getTotalSwapSize0 | back to summary |
|---|---|
| private static native long getTotalSwapSize0() | |
| isContainerized | back to summary |
|---|---|
| public boolean isContainerized() Implements jdk. Doc from jdk. Determines whether or not the underlying system has useful metrics (a.k.a. is containerized).
| |
| isContainerized0 | back to summary |
|---|---|
| private static native boolean isContainerized0() | |
| isUseContainerSupport | back to summary |
|---|---|
| private static native boolean isUseContainerSupport() | |