How to Check VPS/VDS Server Load (top, CPU, Load Average)
This guide explains how to check server load and identify performance issues on a VPS/VDS.
When to Use This
- website is slow;
- server becomes unresponsive;
- high CPU or disk usage;
- suspected attack or overload.
Step 1: Connect via SSH
Connect to your server using SSH.
Step 2: Run the "top" Command
top
This command shows real-time system activity.
Understanding Key Metrics
Load Average (LA)
Shows average system load for:
- 1 minute;
- 5 minutes;
- 15 minutes.
Rule of thumb:
- Load = number of CPU cores → normal;
- Load > cores → server overloaded.
CPU Usage
- us — user processes;
- sy — system processes;
- id — idle CPU (free resources);
- wa — waiting for disk (I/O issues).
Processes
Look at:
- %CPU — CPU usage per process;
- %MEM — memory usage;
- state (R, S, D, Z).
Common Problems
High Load Average
- too many processes;
- insufficient CPU resources;
- possible attack.
High "wa" (I/O wait)
- slow disk;
- database overload;
- backup or heavy file operations.
Find Problematic Processes
ps aux --sort=-%cpu | head
Find processes stuck in I/O wait:
ps aux | grep D
What to Do Next
- stop or restart heavy processes;
- optimize website or database;
- upgrade server resources if needed;
- check logs for suspicious activity.
Important:
High server load may cause downtime and slow website performance.
High server load may cause downtime and slow website performance.