Grokking Operating Systems and Networking for Backend Engineers
0% completed
Reading Load Average and CPU Usage
An alert fires for Checkout's database server: the load average is above 3 on a machine with 2 CPUs. The engineer on call opens top and expects busy CPUs. Instead, the CPUs are almost idle, and the busiest process uses a few percent of one CPU.
Both readings are correct. They measure different things, and the gap between them is the most useful clue on the screen.
This page explains what the load average counts on Linux, why it rises when nothing uses the CPU, and how to read the CPU usage columns, including steal time on a cloud virtual machine.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%