← Blog
Server Metrics Without the Panic: Reading Load, CPU, Memory, and Disk Honestly

Your monitoring fires at 3 AM. Load average is 8 on a 4-core server. PagerDuty is screaming. Your first instinct is to SSH in and start debugging. Your second instinct is to wake the on-call lead. Your third instinct is to reboot.

None of those is necessarily right. The server might be perfectly fine.

Fast-forward six hours. Different alert, different day. CPU is at 10%, memory looks healthy, disk shows plenty of free space. Every graph in Grafana is green. But users are tweeting that the site is slow, support tickets are piling up, and your boss wants an answer. The metrics say "nothing to see here." The reality says otherwise.

Server metrics are easy to read, hard to interpret. Half the alerts we send wake someone up for nothing. The other half point at the wrong problem. This guide walks through the four metrics that drive 90% of operational decisions (load average, CPU, memory, disk), what they actually mean, when they lie, the five trap patterns that consume on-call hours, and the alerts that tell you something true instead of something noisy.

One metric, one question

The single most useful habit for reading server metrics is to know which question each one answers. The misinterpretations come almost entirely from treating any metric as an answer to "is the server OK?" It isn't. Every metric answers one narrow question. The art is picking the right one and ignoring the wrong ones.

  • Load average answers: "how many tasks are waiting for the CPU or stuck in I/O?"
  • CPU percent answers: "how much of my CPU time is spent on what?" (with seven sub-categories)
  • Memory percent answers almost nothing by itself; the useful question is: "how much memory is actually available for allocation?"
  • Disk percent answers: "how full is the filesystem?" The related but different question is: "how saturated is the disk doing I/O right now?"

Keep these distinctions in mind. The rest of the article is just the honest reading of each one.

Load average: what it really measures

The number that appears after "load average" in top, uptime, w, or /proc/loadavg is one of the most misread metrics in Linux ops. Myth: load average is a CPU utilization percentage divided by cores. Reality: it's a count of runnable or uninterruptible processes averaged over 1, 5, and 15 minutes.

"Runnable" means the task is ready to use CPU. "Uninterruptible" means the task is blocked waiting on I/O (disk or occasionally network). Both count. A load average of 8 can mean 8 CPU-bound tasks fighting for cores, OR 8 processes stuck waiting on a slow disk, OR any mix of both.

The "load > cores means alert" myth

The rule of thumb says load average per core is roughly utilization. On a 4-core box, load 4 is "fully loaded" and load 8 is "overloaded." This holds approximately when the work is CPU-bound with no I/O wait. It breaks completely when the tasks are blocked on I/O.

A nightly backup that reads 500 GB of files produces load spikes of 5 to 10 while the server is otherwise idle. The backup process is accounted for in load (uninterruptible wait on disk reads) but uses almost no CPU. Load is high, service is healthy, nothing is wrong. Alerting on raw load threshold wakes someone up for nothing.

The three time windows

load average: 2.14, 4.80, 7.22 reads oldest-first from right. The 15-minute number is what the system has been doing over the last quarter hour. The 1-minute is what's happening right now. Rising (1min > 5min > 15min) means load is climbing; falling (1min < 5min < 15min) means load is coming back down.

For alerting, the 5 or 15-minute number is far more useful than 1-minute. A 1-minute spike during a deploy or backup is normal; a sustained 15-minute elevated load on an otherwise idle box deserves a look.

When low load is bad

Load near zero should mean the system is calm. It doesn't always. If a service is unresponsive but its processes aren't being scheduled (deadlocked, waiting on a lock that never comes), they aren't runnable, so they don't count toward load. Your service is broken, your load average is 0.1, your dashboard is green. The right alert for this case isn't load, it's "is the service responding to health checks?"

CPU: the seven fields nobody reads

The number people quote as "CPU usage" is almost always 100 - idle. That's a summary. The useful information is in the breakdown that top shows on the "Cpu(s)" line:

%Cpu(s): 23.4 us,  5.1 sy,  0.0 ni, 68.2 id,  2.8 wa,  0.0 hi,  0.5 si,  0.0 st
  • us (user): time spent in user code (your application). High user means your app is CPU-bound.
  • sy (system): time spent in the kernel (syscalls, context switches, networking stack). High sy often means lots of small I/O or heavy fork activity.
  • ni (nice): user time for processes with lowered priority. Usually zero.
  • id (idle): time doing nothing. High idle is good.
  • wa (iowait): time spent idle because the CPU was waiting on I/O. This is the trap below.
  • hi (hardirq): hardware interrupts. Usually near zero unless you're drowning in network interrupts.
  • si (softirq): software interrupts. Same.
  • st (steal): on a VM, the time the hypervisor took CPU away from you. Critical to notice.

The iowait trap

iowait is the most misread of the eight. It means "the CPU was idle AND at least one task was waiting on I/O." It does not mean "the CPU was busy." It specifically does not mean "the server is overloaded." It means your disk is slow enough that your CPU had to sit around waiting.

A server with 90% idle and 90% iowait is not overloaded: it's idling with something stuck on disk. The disk is the bottleneck, not the CPU. Upgrading CPU will not help. Faster disk (or less I/O) will.

On a VPS, iowait often reflects noisy-neighbor contention on the shared storage rather than your own workload. A sustained high iowait on a VPS is often a hosting-provider question (is shared storage saturated?) more than an application question.

The steal trap

st (steal) only shows up on virtual machines. It's the time the hypervisor scheduled some other VM instead of yours, even though your VM wanted CPU. On a dedicated bare metal server, steal is always 0. On a shared VPS, steal percentage is a direct measurement of how badly the host is oversold.

If steal is consistently above 5 to 10%, you're not getting the compute you're paying for. This is specifically a hosting provider conversation, not an application optimization.

CPU low, latency high: the real bottleneck

The scenario that most confuses new on-call engineers: CPU is at 10%, memory looks fine, disk looks fine. But p99 request latency is 3 seconds and users are complaining. All infra metrics say "nothing is wrong."

Infra metrics say nothing is wrong because the server itself is fine. The problem is at a layer the server-level metrics don't see: a slow upstream API, a database lock contention, a code path blocking on an external call, a queue backing up. The question "is the CPU busy?" doesn't answer "is my service fast?"

The honest metric for user experience is not CPU, it's end-to-end latency. Everything else is a clue.

Memory: the "95% used" myth

Typical free -h output:

              total        used        free      shared  buff/cache   available
Mem:           15Gi        12Gi       520Mi       180Mi       2.8Gi       2.6Gi
Swap:         4.0Gi       124Mi       3.9Gi

A junior sysadmin sees used 12Gi on total 15Gi and panics. Memory is 80% used, we need more RAM.

That reading is wrong. Linux uses available RAM to cache disk reads (the buff/cache column) because unused RAM is wasted RAM. The kernel will immediately reclaim this cache if any process needs the memory. The correct column to read is available, which shows what can actually be allocated to a new process without touching swap. In the example above, available is 2.6Gi, which is 17% of total. That's tight but not immediately critical.

The rule

  • used - buff/cache is "application memory in use."
  • available is "memory you can allocate before the kernel starts to hurt."
  • Alert on available < 10% of total, not used > 90%.

When swap > 0 is fine

Swap usage greater than zero is not automatically bad. Linux will swap out memory pages that haven't been touched in a long time (idle daemons, cold data, forgotten services) to free RAM for active work. A server with 100 MB of swap used and no active swap-in or swap-out is healthy; the kernel just moved cold data to disk and freed the RAM.

The concerning case is active swapping: pages going in and out of swap at a high rate (si and so fields of vmstat 1). This is the kernel struggling to find memory, and performance collapses when it happens. The right alert is "swap-in or swap-out sustained above N pages per second," not "swap used > 0."

The OOM killer and where to find it

When the system is genuinely out of memory, the kernel's Out Of Memory killer picks a process and terminates it. The decision is logged to dmesg and /var/log/syslog (or the journal). After any suspicious crash, grep for oom-killer or Out of memory in the logs. If the OOM killer fired, your service didn't crash on its own; the kernel killed it.

The before-adding-RAM article covers the three specific memory leak patterns that account for most of the "we need more RAM" tickets. It's worth reading before you upgrade.

Pressure Stall Information (PSI)

Modern Linux (kernel 4.20 and newer) exposes memory pressure via /proc/pressure/memory:

some avg10=0.00 avg60=0.12 avg300=0.08 total=42318
full avg10=0.00 avg60=0.00 avg300=0.00 total=1812

some is the percentage of time at least one task was waiting on memory. full is the percentage of time all tasks were waiting (the whole system was stalled). Values above 10 on some or above 2 on full for 60-second windows indicate actual memory pressure. This metric is better than "memory used %" for detecting real problems. Almost nobody alerts on it. Most observability stacks now expose it under node_pressure_memory_* or similar.

Disk: filesystem, I/O, and the confusing %util

Disk metrics are three different conversations in a trenchcoat: filesystem fullness, I/O saturation, and I/O latency. Confusing them is where "disk alerts" lose their meaning.

Filesystem fullness: df and df -i

df -h    # bytes
df -i    # inodes

df -h shows byte-level usage. df -i shows inode usage. Inodes are per-file bookkeeping entries; a filesystem can run out of inodes with gigabytes of bytes still free, which produces "no space left on device" errors even though df -h shows room.

Common culprit: directories containing millions of small files. Mail spools, cache directories, session stores, broken apps writing one file per request. If you see "no space left" and df -h says you have room, run df -i immediately.

I/O saturation: iostat -xz 1

iostat -xz 1

This shows the real I/O picture per device:

  • await: average time a request waits (in milliseconds). Above 50 ms sustained is slow; above 100 ms is painful.
  • %util: percentage of time the device was handling at least one request. Reaches 100% when at least one I/O is always queued.
  • r/s, w/s: reads and writes per second (IOPS).
  • rkB/s, wkB/s: throughput in KB/s.

The %util trap

%util at 100% looks alarming. It doesn't mean the disk is at its maximum capacity. For a single-queue device (old SATA), 100% util means saturation. For modern NVMe or SSD arrays with deep queues, 100% util just means at least one request is always in flight. It can serve many more in parallel.

A better saturation indicator on modern storage is await climbing combined with throughput plateauing. If throughput and IOPS are flat while await rises, you've found the ceiling. If throughput is still climbing, the disk has headroom despite 100% %util.

Disk mysteriously fills up

Common patterns, from most frequent to least:

  • /var/log growing (a misconfigured app spitting errors)
  • journald journal growing (no size limit set)
  • Old kernels never cleaned up (/boot fills)
  • Docker overlays accumulating (/var/lib/docker/overlay2)
  • A cron writing to /tmp with no cleanup
  • A core dump the size of your process (/var/lib/systemd/coredump/)

The rescue mode runbook covers each of these in detail under "Fix #3: Disk full."

The five trap patterns that waste on-call hours

Pattern-matched from real incidents, these are the five misreadings that account for most of the wasted debugging time on infrastructure metrics:

1. Load 8 on 4-core = alert, but iowait is 100%. The server is not overloaded; the disk is slow (or shared storage is contended on a VPS). Load 8 with 100% iowait and near-zero CPU usage is a disk incident, not a CPU incident. Switching to a bigger server with the same disk fixes nothing.

2. CPU 10% but users slow. Every server-level metric is healthy. The problem is at a layer above: a slow upstream API, a database lock, a queue backing up, a code hot path blocked on an external call. The right metric here is p99 end-to-end latency. Infra metrics are blind to it.

3. Memory 95% used = probably cache. Read the available column, not used. A healthy Linux server will show "95% memory used" because the kernel is caching disk reads. The number that matters is available.

4. Disk 100% busy = may be nothing. %util at 100% on modern SSD or NVMe just means the queue is always busy. If await is low and throughput hasn't plateaued, the disk has headroom. Alerting on %util alone produces noise.

5. All metrics "green" but p99 latency 3s. Infra is innocent, application is the culprit. Possible causes: GC pause, lock contention, external dependency slow, slow query plan. The infra dashboard is the wrong tool; APM, flame graphs, and query analysis are the right ones.

Each of these produces an incident that looks infrastructure-shaped but isn't. Treating them as infrastructure incidents wastes an on-call hour and leaves the real problem unresolved.

Alerts that tell you the truth

A monitoring stack with 300 alert rules firing noisily is worse than one with 15 that only fire on real problems. Here's the honest list of alerts worth setting, with thresholds that don't spam:

Load and CPU

  • Load per core > 4 sustained for 10 minutes (not instantaneous)
  • iowait > 30% sustained for 10 minutes (specifically; separates disk from CPU issues)
  • steal > 10% sustained (VPS only; signals hosting provider over-subscription)

Memory

  • available memory < 10% of total, sustained for 5 minutes
  • PSI memory full > 2% over 60s (if PSI is available)
  • swap-in or swap-out > 100 pages per second sustained (active thrashing)

Disk

  • Filesystem > 85% full on any mounted filesystem (not just root)
  • Inodes > 85% used on any filesystem (easy to forget, often fires first)
  • iostat await > 100 ms sustained for 5 minutes on a production disk

Service-level (the ones that matter most)

  • Health check returning non-2xx for > 60 seconds
  • p99 request latency > SLA for 5 minutes
  • Error rate > 1% for 2 minutes
  • SSL certificate expiring in < 30 days (this one has saved more Saturdays than any other alert)

The right alert set has one property: when it fires, you're almost always going to act. If the alert fires and you routinely acknowledge and ignore it, the threshold is wrong or the alert should not exist. An alert you ignore trains everyone to ignore alerts in general. That's the real cost of bad monitoring, not the time to set it up.

Walking away with the right reading

Server metrics are a diagnostic tool, not a verdict. They tell you where to look first, not what the problem is. The only number that reliably answers "is my service OK?" is end-to-end user-facing latency. Everything else is a clue.

The honest practice: alert on what matters (service health and latency), instrument what you'll actually read (load with context, CPU breakdown, memory available, disk await and inode), and resist the urge to alert on raw percentages that will fire on routine events (nightly backups, large file reads, cache fills).

The post-provisioning checklist covers the base monitoring that every server should have from day one. The rescue mode runbook covers what to do when metrics indicate a real problem. The five signs of no security watch covers when an anomalous metric might be a compromise rather than a configuration issue.

On any Dedimax VPS or dedicated server, the tools in this article (top, htop, iostat, vmstat, free, df, and /proc/pressure/* on modern kernels) are available out of the box. Read them honestly, alert on what matters, and your on-call rotation will thank you.

Deploy your own VPS

300+ apps in one click, full root access, ready in minutes.

From $11.99/mo

  • Unlimited traffic
  • No commitment
Deploy a VPS

Continue reading

All articles →
Create account Access my account

No commitment, deploy in seconds

Community zone

A question ?
Want to go further?

We’re waiting for you on our blog. New guides and tutorials published regularly (sysadmin, gaming, devops...) !

Let me check
DEDIMAX DEDIMAX DEDIMAX DEDIMAX
DEDIMAX

Need a quote ?

Write us !

Contact us