Expand description
Pressure stall information from /proc/pressure (SRD-118 §3.7):
the share of time tasks were stalled for want of CPU, memory or
I/O.
Utilization says how much of a resource is in use; pressure says whether work is waiting for it. A host at 100% CPU with no pressure is busy, and one with pressure is short.
Structs§
- Pressure
Reading - The stalled share of a sample window, for the three resources. Each is a fraction of the window, 0 to 1.
- Pressure
Totals - The three resources’ cumulative stall times.
- Stall
Totals - Cumulative stall time for one resource, in microseconds.
Functions§
- parse_
pressure - The
total=of thesomeandfulllines of one/proc/pressure/<resource>file.Nonewithout asomeline. - pressure_
between - The stalled share of the window between two readings
dt_sapart.