Load average in Linux: loadavg and uptime

Updated November 1, 2026

Load average is the average number of processes running or waiting for the CPU or disk, over 1, 5 and 15 minutes.

Common cases

uptime                 # three load numbers at the end of the line
cat /proc/loadavg      # the same numbers, as a file
nproc                  # how many CPU cores are available
w                      # load plus who is logged in

Sample output

$ nproc
10
$ uptime
 04:07:55 up 5 days,  1:38,  0 user,  load average: 0.72, 1.18, 1.34
$ for i in $(seq 1 8); do (while :; do :; done) & done
$ sleep 60; uptime
 04:08:55 up 5 days,  1:39,  0 user,  load average: 6.00, 2.64, 1.83
$ sleep 90; uptime
 04:10:25 up 5 days,  1:41,  0 user,  load average: 8.62, 4.35, 2.51

How it works: compare load with the core count

The three numbers are the load over the last 1, 5 and 15 minutes, and you read them against the number of cores. On 4 cores a load of 4.0 means the CPU is fully busy but not queued; 8.0 means the load is twice the core count. A falling series (say 8, 4, 2) means a spike is passing; a rising one means trouble is building. On Linux the load also counts processes waiting on disk, so high load can happen with an idle CPU.

Common mistakes

The numbers lag behind what is happening. Eight endless loops on 10 cores gave load average: 6.00, 2.64, 1.83 after one minute, and only by two and a half minutes did the first number climb to 8.62. Right after a spike starts the load average understates it, and for minutes after the spike ends it overstates it. vmstat 1 or top answers 'what is happening right now', uptime does not.

In a container uptime and /proc/loadavg report the load of the whole host. A container running one bash printed load average: 4.83, 3.77, 2.59 while a neighbouring container was burning six cores; ps inside saw two processes. The load average tells you nothing about what your own container is doing.

/proc/loadavg has five fields, not three: 0.80 1.62 1.33 1/563 9. The fourth is running processes over the total count, the fifth is the PID of the last process created. awk '{print $4}' on this file returns 1/563 instead of the 15 minute load, which sits in $3.

Used in

You need this in the lesson Monitoring. The theory is the chapter Monitoring and bottlenecks.

See also

Memory: free, The vmstat command, Viewing processes.

Try it

Open the sandbox: a real throwaway Linux terminal in your browser. Run the commands above by hand - the container is deleted when you leave.