Is my server actually healthy? Five numbers worth checking every morning

CPU graphs only tell part of the story. These five numbers give you a real picture of a Linux server's health in under a minute, and tell you when to worry.

AskMyServers team · · 3 min read

Most of us open a monitoring dashboard, see a CPU graph that isn't on fire, and move on. That's fine until the morning the server falls over and the CPU graph still looks fine.

CPU is the number everyone watches, and it's usually the least interesting one. Here are the five we actually look at, in the order we look at them, and what each one is trying to tell you.

1. Disk usage (and how fast it's growing)

If we could keep only one number, it would be this one. A full disk breaks things in strange ways: databases refuse writes, logs stop, deploys fail halfway through, and sometimes you can't even log in over SSH.

df -h /

The percentage matters less than the trend. A disk sitting at 80% for a year is boring. A disk that went from 60% to 80% this week is a problem that will arrive on a weekend. As a rough rule we start paying attention at 80% and act at 90%.

2. Available memory, not "used" memory

Linux uses spare RAM for file cache, so free almost always looks scary to people new to it. The column you want is available:

free -h

If available memory keeps shrinking over hours or days while traffic stays the same, something is leaking. If it drops to near zero, the kernel's out-of-memory killer will start picking processes to stop, and it rarely picks the one you'd choose.

3. Load average compared with your CPU count

uptime
nproc

Load average is the number of processes running or waiting. On a 2-core server, a load of 2 means it's fully busy; a load of 8 means work is queuing. Compare the three numbers (1, 5 and 15 minutes): a high 1-minute number with a calm 15-minute number is a spike, while all three high means the server has been struggling for a while.

4. Uptime, in the other direction

People celebrate long uptimes. We get a little nervous about them. A server that hasn't rebooted in 300 days is probably still running an old kernel, because most kernel security fixes only take effect after a restart.

uptime -p
ls /var/run/reboot-required 2>/dev/null && echo "reboot needed"

Plan reboots in a quiet hour instead of waiting for one to happen at a bad time.

5. Whether your containers are restarting

If you run Docker, a container stuck in a restart loop can look "up" in a quick glance at docker ps. Look at the status column and the restart count:

docker ps --format 'table {{.Names}}\t{{.Status}}'
docker inspect --format '{{.Name}} restarts={{.RestartCount}}' $(docker ps -q)

"Up 4 seconds" on a container that should have been running for days is the giveaway.

Putting it together

Five commands, under a minute, every morning. The hard part isn't running them. It's remembering to, on every server, every day, including the ones you don't think about.

That's the reason we built the health score in AskMyServers. It turns these readings (plus SSL, uptime checks and recent deployments) into a single number out of 100, with the few things worth fixing listed first. Or you can just ask your AI assistant:

"Is anything on my servers worth worrying about today?"

and get an answer built from the same numbers above.

Quick reference

CheckCommandWorry when
Diskdf -h /Above 85%, or growing fast
Memoryfree -h"available" keeps shrinking
Loaduptime, nprocLoad stays above core count
Rebootuptime -pMonths without a reboot
Containersdocker psRestart count climbing

Try AskMyServers free on one server

Is my server actually healthy? Five numbers worth checking every morning · AskMyServers