Events OS Metrics: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
The percentage of total CPU time spent executing code in user mode.
The percentage of total CPU time spent executing code in user mode.


Also see: [[/proc/stat cpu user time reading|/proc/stat#user]]
Also see:  
 
* [[/proc/stat#user|/proc/stat cpu user time reading|]]
([https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuUserTime.java GitHub])
* [https://github.com/NovaOrdis/events-api/blob/master/src/main/java/io/novaordis/events/api/metric/os/mdefs/CpuUserTime.java GitHub CpuUserTime]
 
 


==CpuNiceTime==
==CpuNiceTime==

Revision as of 22:23, 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).
  • system - time in USER_HZ units spent in system mode: kernel executing system calls on behalf of processes.
  • idle - time in USER_HZ units spent in idle mode. This value should be USER_HZ times the second entry in /proc/uptime.
  • 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.
  • irq - time in USER_HZ units spent servicing hardware interrupts.
  • softirq - time in USER_HZ units spent servicing softirqs.
  • steal - time in USER_HZ units spent in other operating systems when running in a virtualized environment.
  • guest - time in USER_HZ units spent running a virtual CPU for guest operating systems under the control of the Linux kernel. More details: Steal Time.
  • guest_nice - time in USER_HZ units spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel).



Memory

Swap

  • SwapTotal
  • SwapUsed
  • SwapFree

Load Average

  • LoadAverageLastMinute
  • LoadAverageLastFiveMinutes
  • LoadAverageLastTenMinutes