GuideWhat do the numbers in /proc/pressure mean?
Pressure stall information tells you how much time was lost waiting. It does not tell you which process lost it.
PSI is the kernel’s own measure of waiting: the share of time tasks were stalled for want of CPU, memory or I/O. It has clear limits.
Step 1: where to find it
cat /proc/pressure/cpu
cat /proc/pressure/memory
cat /proc/pressure/io
Each file holds one or two lines of this shape:
some avg10=0.00 avg60=0.00 avg300=0.00 total=0
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
Step 2: read a line
some is the share of time in which at least some tasks were stalled on the resource. full is the share of time in which all non-idle tasks were stalled at once: nothing productive was happening.
The three averages are percentages over ten, sixty and three hundred seconds. total is the absolute stall time in microseconds. Take two readings of total and subtract to get the time lost in your own interval.
For CPU, the kernel documentation says full is undefined for the whole system and is reported as zero. Read only the some line in /proc/pressure/cpu.
What the three files mean in practice
One file for each resource: tasks stalled for want of a CPU, for want of memory, and waiting on I/O. The figures are shares of wall-clock time, so they can be compared across the three.
A some figure of 20 for memory over the last ten seconds means roughly that for about two of those seconds, at least one task could not run because of memory. The averages are recent trends; use total when you need an exact figure.
Step 3: narrow it to a control group
cat /sys/fs/cgroup/GROUP/cpu.pressure
cat /sys/fs/cgroup/GROUP/memory.pressure
cat /sys/fs/cgroup/GROUP/io.pressure
Where cgroup v2 is mounted (mount -t cgroup2 prints where), each control group has the same three files. That narrows the stall to a container or a service. The documentation describes no file for a single process.
What PSI cannot tell you
Which process is stalled, when more than one shares the group. And which resource came first: memory pressure and I/O pressure often rise together, because a machine short of memory reads and writes more. PSI shows both rising. It does not say which pressed on which.
Where Commotion begins
Every step above is done by hand, on one machine, while the incident is still happening. Commotion makes the judgement for every process on the node, each second: it judges a process on measured waiting, not on usage, and names which of CPU, memory, disk or network is at the root, with the measurement that proves it.
It runs beside the monitoring you already have. Read one incident, or see what Early Access involves.
Checked on 3 December 2026 against: Kernel documentation: PSI, pressure stall information. Command output differs between versions; read your own manual pages.
Stop guessing the cause from graphs.
Sign-up is not open yet; write to commotion@littlebit.in to ask about a trial.