CloudLinux.ro
Monitoring & logging

How to monitor server resources from the command line

Updated 7/20/2026

Before installing complex tools, a few commands immediately tell you how the server feels.

CPU and processes

top
htop        # more visual, install it with: apt-get install -y htop

RAM memory

free -h

Look at the "available" column: how much RAM is really available.

Disk space

df -h           # space on partitions
du -sh /var/*   # what each directory uses

System load

uptime

The "load average" numbers show the load over 1, 5 and 15 minutes. As a rule of thumb, a value above the number of CPU cores means the server is overloaded.

What is listening on the network

ss -tulnp

When you need more

For graphs and history, move to a visual tool like Netdata or the one-click app Glances. If the server is constantly overloaded, consider a bigger plan.

Put this guide into practice on your own VPS

EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.

See pricing

Related tutorials