Events OS Metrics: Difference between revisions
Line 16: | Line 16: | ||
==CpuNiceTime== | ==CpuNiceTime== | ||
The percentage of total CPU time spent executing code in user mode with low priority (nice). | |||
Also see: | Also see: | ||
Line 21: | Line 23: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuNiceTime.java GitHub CpuNiceTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuNiceTime.java GitHub CpuNiceTime] | ||
==CpuKernelTime== | |||
The percentage of total CPU time spent executing system calls on behalf of processes. | |||
Also see: | Also see: | ||
Line 33: | Line 31: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuKernelTime.java GitHub CpuKernelTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuKernelTime.java GitHub CpuKernelTime] | ||
==CpuIdleTime== | |||
The percentage of total CPU time spent in idle mode. | |||
Also see: | Also see: | ||
Line 44: | Line 39: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuIdleTime.java GitHub CpuIdleTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuIdleTime.java GitHub CpuIdleTime] | ||
==CpuIoWaitTime== | |||
The percentage of total CPU time spent waiting for I/O to complete. The CPU will not wait for IO, it will be schedule onto another task or will enter idle state. When a CPU goes into idle state for outstanding task I/O, another task will be scheduled on this CPU. On a multi-core CPU, the task waiting for I/O to complete is not running on any CPU, so the iowait of each CPU is difficult to calculate. | |||
Also see: | Also see: | ||
Line 55: | Line 47: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuIoWaitTime.java GitHub CpuIoWaitTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuIoWaitTime.java GitHub CpuIoWaitTime] | ||
==CpuHardwareInterruptTime== | |||
The percentage of total CPU time spent servicing hardware interrupts. | |||
Also see: | Also see: | ||
Line 66: | Line 55: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuHardwareInterruptTime.java GitHub CpuHardwareInterruptTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuHardwareInterruptTime.java GitHub CpuHardwareInterruptTime] | ||
==CpuSoftwareInterruptTime== | |||
The percentage of total CPU time spent servicing software interrupts. | |||
Also see: | Also see: | ||
Line 77: | Line 63: | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuSoftwareInterruptTime.java GitHub CpuSoftwareInterruptTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuSoftwareInterruptTime.java GitHub CpuSoftwareInterruptTime] | ||
==CpuStolenTime== | |||
The percentage of total CPU time spent in other operating systems when running in a virtualized environment. | |||
Also see: | Also see: | ||
* [[/proc/stat#steal|/proc/stat cpu steal time reading]] | * [[/proc/stat#steal|/proc/stat cpu steal time reading]] | ||
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuStolenTime.java GitHub CpuStolenTime] | * [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuStolenTime.java GitHub CpuStolenTime] | ||
=Memory Metrics= | =Memory Metrics= |
Revision as of 22:54, 10 September 2017
Internal
Overview
CPU Metrics
CpuUserTime
The percentage of total CPU time spent executing code in user mode.
Also see:
CpuNiceTime
The percentage of total CPU time spent executing code in user mode with low priority (nice).
Also see:
CpuKernelTime
The percentage of total CPU time spent executing system calls on behalf of processes.
Also see:
CpuIdleTime
The percentage of total CPU time spent in idle mode.
Also see:
CpuIoWaitTime
The percentage of total CPU time spent waiting for I/O to complete. The CPU will not wait for IO, it will be schedule onto another task or will enter idle state. When a CPU goes into idle state for outstanding task I/O, another task will be scheduled on this CPU. On a multi-core CPU, the task waiting for I/O to complete is not running on any CPU, so the iowait of each CPU is difficult to calculate.
Also see:
CpuHardwareInterruptTime
The percentage of total CPU time spent servicing hardware interrupts.
Also see:
CpuSoftwareInterruptTime
The percentage of total CPU time spent servicing software interrupts.
Also see:
CpuStolenTime
The percentage of total CPU time spent in other operating systems when running in a virtualized environment.
Also see:
Memory Metrics
PhysicalMemoryUsed
Also see:
PhysicalMemoryFree
Also see:
PhysicalMemoryTotal
Also see:
Swap Metrics
SwapUsed
Also see:
SwapFree
Also see:
SwapTotal
Also see:
Load Average Metrics
LoadAverageLastMinute
Also see:
LoadAverageLastFiveMinutes
Also see:
LoadAverageLastTenMinutes
Also see: