Pcornel
Linux · Resource Monitoring

Load Average

Cheat sheet · https://pcornel.dk/topic.php?topic=2838

Back to the Topic

Answer

Load average is the average number of processes running or waiting to run (R) plus those in uninterruptible sleep (D), over 1, 5 and 15 minutes.

Remember

Compare load with nproc: load equal to the CPU count is fully busy. High load with low CPU use means processes waiting on I/O (D state) — check storage or NFS. The three numbers show the trend.

First checks

  • nproc — number of CPUs
  • top -o %CPU / htop — live CPU and memory per process
  • vmstat 1 5 — CPU, memory, swap and I/O over time
  • free -h — memory and swap
  • iostat -xz 1 3 — disk utilisation and latency (sysstat)
  • uptime — load averages

Verify in this order

runnable + uninterruptible processes counted → averaged over 1/5/15 min → compared with CPU count

Where it usually breaks

First mismatch in hardware/kernel capability → scheduler/mm/device → cgroup/namespace → process/thread → service/runtime → workload behavior/counters; preserve identity/native diagnostic/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2838

Confirmation

Confirm action

Continue?