Events OS Metrics: Difference between revisions

From NovaOrdis Knowledge Base
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])


* <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.
==PhysicalMemoryFree==


* <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])
* <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])


Memory
==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])
* <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])
* <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])


Swap
=Swap Metrics=
 
==SwapUsed==
 
==SwapFree==
 
==SwapTotal==
 
=Load Average Metrics=


* SwapTotal
==LoadAverageLastMinute==
* SwapUsed
* SwapFree


Load Average
==LoadAverageLastFiveMinutes==


* LoadAverageLastMinute
==LoadAverageLastTenMinutes==
* 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


  • nice - time in USER_HZ units spent in user mode with low priority (nice).

CpuKernelTime

  • system - time in USER_HZ units spent in system mode: kernel executing system calls on behalf of processes.

CpuIdleTime

  • idle - time in USER_HZ units spent in idle mode. This value should be USER_HZ times the second entry in /proc/uptime.

CpuIoWaitTime

  • 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.

Memory Metrics

PhysicalMemoryUsed

PhysicalMemoryFree

PhysicalMemoryTotal

Swap Metrics

SwapUsed

SwapFree

SwapTotal

Load Average Metrics

LoadAverageLastMinute

LoadAverageLastFiveMinutes

LoadAverageLastTenMinutes