-
Hahn Axel (hahn) authoredHahn Axel (hahn) authored
Check CPU
Script: check_cpu
It is a plugin to check cpu usage and cpu io wait. It reads cpu data from output of top command and shows
hwi - Time spent handling hardware interrupt routines. (Whenever a peripheral unit want attention form the CPU, it literally pulls a line, to signal the CPU to service it) swi - Time spent handling software interrupt routines. (a piece of code, calls an interrupt routine...) st - Time spent on involuntary waits by virtual cpu while hypervisor is servicing another processor (stolen from a virtual machine)
nice - Time spent running niced user processes (User defined priority) wait - Time spent on waiting on IO peripherals (eg. disk)
system - Time spent in kernel space user - Time spent in user space idle - Time spent in idle operations
For all values it sends performance data.
If there are processes with status D they will be shown (to analyze cpu waits).
Standalone installation
From this repository you need next to this script: