Check CPU, memory and disk usage on Linux
Updated 27 Nov 2026 monitoring performance
Find what is using your server.
Load and CPU
uptime
nproc
A load average that stays above the number of CPUs means work is queuing. For a live view run top and press P to sort by CPU or M for memory.
Memory
free -h
ps aux --sort=-%mem | head
Look at available, not just free. Linux uses spare memory as cache.
Was a process killed for lack of memory?
sudo journalctl -k | grep -i "out of memory"
Disk space
df -h
sudo du -xh --max-depth=1 / | sort -h
Trim old system logs with:
sudo journalctl --vacuum-size=200M
Disk activity
sudo apt install -y sysstat
iostat -dxz 5
On plans with HDD storage, heavy random reads and writes are a common cause of slowness.
Dashboard graphs
Your server page shows CPU, memory, network and disk activity measured by the host. Disk space used appears when the guest agent is installed:
sudo apt install -y qemu-guest-agent
sudo systemctl start qemu-guest-agent