On this pageWhat is happening right now?
Lists of the best Linux monitoring tools rank programs that do different jobs. A live process viewer, a metrics database and an uptime checker are not competitors; they answer different questions. Start from the question you have right now, and the right tool follows.
What is happening right now?
When a server feels slow, the built-in commands answer faster than any dashboard. Most come with every distribution; iostat, mpstat and pidstat are in the sysstat package.
uptime # load average over 1, 5 and 15 minutes
free -h # memory, including swap in use
vmstat 1 5 # CPU, memory, swap and I/O once per second
iostat -xz 1 3 # per-disk latency and queue depth
mpstat -P ALL 1 3 # per-CPU usage, shows one core pinned at 100%
pidstat 1 5 # which processes use CPU, per second
df -h; df -i # disk space and inodes
journalctl -p err -b # errors logged since boot
vmstat packs the most into one line. r is the number of processes waiting for a CPU, b those blocked on I/O, si and so show swap traffic (anything above zero for long means memory pressure), and wa is time spent waiting for disks. On a virtual server, watch st as well: steal time is CPU time the hypervisor gave to other guests while yours wanted it. A steady high value means your vCPU is contended, and no tuning inside the VM fixes that.
In iostat -x, read r_await and w_await (milliseconds per request) and aqu-sz (queue length). The %util column was designed for disks that do one thing at a time; NVMe drives and virtual disks serve many requests in parallel, so 100% there does not mean saturated.
Pressure stall information
Modern kernels also report how much time tasks spent waiting for a resource, which is closer to "how slow does it feel" than any utilization figure:
cat /proc/pressure/cpu /proc/pressure/memory /proc/pressure/io
Each line gives the share of time over the last 10, 60 and 300 seconds during which at least one task (some) or every task (full) was stalled. Memory pressure above a few percent that keeps climbing is an early warning, well before the out-of-memory killer acts. If the files are missing, the kernel was built with this feature off by default, and adding psi=1 to the kernel command line turns it on.
Which process is it?
Interactive viewers sort the process list live and add context:
| Tool | Strength | Package |
|---|---|---|
top |
always installed, scriptable with top -b -n 1 |
procps |
htop |
tree view, filtering, easy sorting and signals | htop |
btop |
graphs for CPU, memory, disks and network on one screen | btop |
atop |
also records history to disk (see below) | atop |
| Glances | everything at once, plus a web mode with glances -w |
glances |
iotop |
per-process disk traffic | iotop or iotop-c |
nethogs |
per-process network traffic | nethogs |
All of these are in the standard repositories of Debian, Ubuntu and Fedora; the RHEL family takes most of them from EPEL. Remember that %CPU in ps is a lifetime average, while these viewers show the current rate.
What happened while I was not looking?
Live tools are useless at 9 a.m. for a slowdown at 3 a.m. You need something that records.
sar from sysstat
sar stores a sample every ten minutes by default and keeps one to four weeks of files, depending on the HISTORY setting your distribution ships. Collection is off by default on Debian and Ubuntu: set ENABLED="true" in /etc/default/sysstat and restart the sysstat service. On the RHEL family, run sudo systemctl enable --now sysstat.
sar -u # CPU today
sar -r # memory
sar -q # run queue and load
sar -d -p # disks, with device names
sar -n DEV # network interfaces
sar -u -f /var/log/sysstat/sa17 # the 17th (RHEL family: /var/log/sa/sa17)
atop logs
atop can run as a service that writes a full snapshot of every process at a fixed interval. Replaying a log shows which process was responsible, not only that CPU was high:
sudo systemctl enable --now atop
atop -r /var/log/atop/atop_20261117 # press t to step forward, T to step back
The journal completes the picture: journalctl --since "03:00" --until "03:30" shows what the system logged during the window.
Is it getting worse over weeks?
Trends and alerts need a metrics store with a dashboard. Four common choices, from lightest setup to most flexible:
| Tool | Model | Best for |
|---|---|---|
| Beszel | small agent per server reporting to one hub | a handful of servers and their Docker containers, with simple alerts |
| Netdata | agent with per-second metrics and auto-detected services | deep detail on each machine with almost no configuration |
| Prometheus, node_exporter and Grafana | Prometheus pulls metrics, Grafana draws them | many servers, application metrics, flexible queries and alert rules |
| Zabbix | server, database and agents, with templates | larger fleets, network devices over SNMP, formal alerting |
Size the collector to the job. Per-second metrics on twenty servers need real disk and memory on the machine that stores them, while a single small server is fine with Beszel or sysstat alone. On CloudSat you can skip the manual installs: Beszel, Netdata, Prometheus, Grafana, Zabbix and Uptime Kuma each come as a one-click app.
Is it up for the people who use it?
A server cannot report its own outage. When the network or the machine is down, every tool on it goes quiet with it. External checks fill the gap: an HTTP request that expects a status code or a word on the page, a TCP check on a game or mail port, certificate expiry warnings and DNS checks.
Uptime Kuma covers all of these with a web interface and notifications to email, chat tools and webhooks. Run it on a separate small server, ideally in another region, so one failure cannot take out both the service and its alarm.
Pick by size
- One personal server: the built-in commands,
htop, sysstat history and one external uptime check. - Two to ten servers: Beszel or Netdata for metrics, Uptime Kuma for availability.
- A fleet or custom metrics: Prometheus with Grafana and Alertmanager, or Zabbix if you prefer templates and a single integrated product.
Whatever you choose, decide who receives alerts and test the path once by stopping a service on purpose. An alert that nobody reads is the same as no monitoring.
FAQ
Does monitoring slow the server down?
Every agent costs some CPU and memory, and per-second collection costs more than per-minute. On a small plan, check an agent's footprint with ps or htop after installing it, and lower its collection rate if it shows up near the top.
What steal time is worth worrying about?
Short spikes happen on any shared host. A value that stays high during your busy hours means the vCPU waits for physical cores. Measure for a few days with sar -u, then raise it with your provider or move the workload to a plan with more CPU headroom.
Do I need a dashboard for a single server?
Not necessarily. sysstat history, a log you actually read and an external uptime check cover most needs. Add a dashboard when you catch yourself running the same commands every morning.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




