Events OS Metrics: Difference between revisions
Jump to navigation
Jump to search
Line 54: | Line 54: | ||
==CpuStolenTime== | ==CpuStolenTime== | ||
* <span id='steal'></span>'''steal''' - time in [[Linux_7_General_Concepts#USER_HZ|USER_HZ]] units spent in other operating systems when running in a virtualized environment. | |||
* <span id=""></span>CpuStolenTime ([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuStolenTime.java GitHub]) | |||
=Memory Metrics= | |||
==PhysicalMemoryUsed== | |||
* <span id="PhysicalMemoryUsed">[[Proc-meminfo#Physical_Memory_Used_by_Processes|PhysicalMemoryUsed]]</span> ([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/PhysicalMemoryUsed.java GitHub]) | |||
==PhysicalMemoryFree== | |||
* <span id=""></span> | * <span id="PhysicalMemoryFree">[[Proc-meminfo#MemFree|PhysicalMemoryFree]]</span> ([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/PhysicalMemoryFree.java GitHub]) | ||
==PhysicalMemoryTotal== | |||
* <span id="PhysicalMemoryTotal">[[Proc-meminfo#MemTotal|PhysicalMemoryTotal]]</span> ([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/PhysicalMemoryTotal.java GitHub]) | * <span id="PhysicalMemoryTotal">[[Proc-meminfo#MemTotal|PhysicalMemoryTotal]]</span> ([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/PhysicalMemoryTotal.java GitHub]) | ||
Swap | =Swap Metrics= | ||
==SwapUsed== | |||
==SwapFree== | |||
==SwapTotal== | |||
=Load Average Metrics= | |||
==LoadAverageLastMinute== | |||
==LoadAverageLastFiveMinutes== | |||
==LoadAverageLastTenMinutes== | |||
Revision as of 22:39, 10 September 2017
Internal
Overview
CPU Metrics
CpuUserTime
The percentage of total CPU time spent executing code in user mode.
Also see:
CpuNiceTime
- CpuNiceTime (GitHub)
- nice - time in USER_HZ units spent in user mode with low priority (nice).
CpuKernelTime
- CpuKernelTime (GitHub)
- system - time in USER_HZ units spent in system mode: kernel executing system calls on behalf of processes.
CpuIdleTime
- CpuIdleTime (GitHub)
- idle - time in USER_HZ units spent in idle mode. This value should be USER_HZ times the second entry in /proc/uptime.
CpuIoWaitTime
- CpuIoWaitTime (GitHub)
- iowait - time in USER_HZ units processes are 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.
CpuHardwareInterruptTime
- CpuHardwareInterruptTime (GitHub)
- irq - time in USER_HZ units spent servicing hardware interrupts.
CpuSoftwareInterruptTime
- softirq - time in USER_HZ units spent servicing softirqs.
- CpuSoftwareInterruptTime (GitHub)
CpuStolenTime
- steal - time in USER_HZ units spent in other operating systems when running in a virtualized environment.
- CpuStolenTime (GitHub)