Why Monitor Your Server?
Monitoring your server allows you to detect problems before they affect your users: a process consuming too much CPU, a disk filling up, or RAM reaching its limit.
Essential Commands (SSH)
View CPU and RAM Usage in Real Time
top
For a more visual version, install htop:
yum install htop -y && htop
View Disk Usage
df -h
See Which Folders Take Up More Space
du -sh /home/* | sort -rh | head -20
View RAM Usage
free -h
View Real-time Network Traffic
yum install iftop -y && iftop
From WHM
WHM includes performance graphs in: WHM → Server Status → Server Information. You will see CPU, RAM, disk, and system load in real time without using SSH.
Automatic Alerts
Configure alerts in WHM → Server Contacts to receive emails when CPU, disk, or memory usage exceeds defined thresholds.
⚠️ Warning Signs: If the server load (load average) consistently exceeds the number of CPUs, it's time to investigate which process is causing the problem with the
top command.