Load average: how many tasks wait for the CPU and the disk
cheat sheet · Ubuntu 24.04 · Linux 6.8 · procps 4.0 https://lab.dimsanych.ru/en/wiki/load-average/Cheat sheet
-
uptimeload over 1, 5 and 15 minutes -
nprocCPU count to compare with -
cat /proc/loadavgsame numbers + tasks in R / total -
topload and the %Cpu(s) line -
vmstat 1 5r — wait for CPU, b — wait for disk -
ps -eo stat,pid,pcpu,comm --sort=-pcpu | headCPU eaters -
ps -eo stat,pid,wchan:30,cmd | awk '$1 ~ /^D/'who is in D -
cat /proc/pressure/cpushare of time waiting for CPU