Events OS Metrics: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 113: Line 113:


==SwapUsed==
==SwapUsed==
Also see:
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/SwapUsed.java GitHub SwapUsed]


==SwapFree==
==SwapFree==
Also see:
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/SwapFree.java GitHub SwapFree]


==SwapTotal==
==SwapTotal==
Also see:
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/SwapTotal.java GitHub SwapTotal]


=Load Average Metrics=
=Load Average Metrics=

Revision as of 22:49, 10 September 2017

Internal

Overview

CPU Metrics

CpuUserTime

The percentage of total CPU time spent executing code in user mode.

Also see:

CpuNiceTime

Also see:



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

CpuKernelTime

Also see:


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

CpuIdleTime

Also see:


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

CpuIoWaitTime

Also see:


  • 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

Also see:


  • CpuHardwareInterruptTime (GitHub)
  • irq - time in USER_HZ units spent servicing hardware interrupts.

CpuSoftwareInterruptTime

Also see:


  • softirq - time in USER_HZ units spent servicing softirqs.
  • CpuSoftwareInterruptTime (GitHub)

CpuStolenTime

Also see:


  • steal - time in USER_HZ units spent in other operating systems when running in a virtualized environment.

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

LoadAverageLastFiveMinutes

LoadAverageLastTenMinutes