← All articles
· 2 min read

Reading the Linux load average without panicking

The three numbers from uptime are not a CPU percentage. Knowing what they count turns a scary 14.0 into a shrug on a 16-core box.

You SSH into a box, run uptime, and see load average: 14.03, 9.21, 6.40. Panic is the wrong reflex. Those three numbers are not a percentage and not directly a CPU figure — they are the 1-, 5- and 15-minute moving averages of the number of processes that are either running or waiting to run.

$ uptime
 15:42:10 up 31 days,  4:10,  2 users,  load average: 14.03, 9.21, 6.40
$ cat /proc/loadavg
14.03 9.21 6.40 7/1032 48213

The key context is core count. A load of 14 on a 4-core machine means work is piling up and tasks are waiting their turn. The same 14 on a 16-core machine means you are using a bit under capacity. Always divide by cores:

$ nproc
16
# load 14.03 / 16 cores = ~0.88 -> busy but not saturated

There is one Linux-specific wrinkle that trips people up. Unlike other Unixes, Linux counts processes in uninterruptible sleep (state D, usually blocked on I/O) in the load average, not just those waiting for CPU. So a machine with an overloaded disk or a stuck NFS mount can show a terrifying load while the CPUs sit mostly idle.

That is why load alone is a poor alert. Pair it with the actual bottleneck: vmstat 1 to see run-queue (r) versus blocked (b), and iostat -x 1 to see whether a disk is at 100% utilisation. If b is high and the CPUs are idle, your problem is I/O, and no amount of staring at the load number will tell you that.