Linux Commands / IT Support Guides
Interpret Linux uptime and load average
Read the 1-, 5-, and 15-minute Linux load averages alongside the number of online logical CPUs.
Environment and inputs: Linux · Bash-compatible shell; package and service names vary by distribution
Understand the problem
Take the reading during the slowdown. If you are inside a container, check what CPU capacity the workload actually has before comparing it with the reported CPU count.
Run the command
Run uptime to see the three load averages, then run getconf _NPROCESSORS_ONLN to see how many logical CPUs are online.
uptime
getconf _NPROCESSORS_ONLN
Read the output
A result such as 8.0, 4.0, 2.0 shows higher recent load than longer-term load. On a host with four logical CPUs, check both CPU activity and disk waits before deciding what is causing the slowdown.
Choose the next step
Compare readings over time. If the 1-minute value falls below the 15-minute value after the incident, demand may be easing. Use process and disk measurements to investigate sustained load.
Before making changes
Record the time, load averages, CPU count, and visible symptoms. Confirm the bottleneck before restarting a service or adding capacity.