Monitorear el rendimiento of your servidor
Why monitorear el servidor?
Monitorear your servidor te permite detectar issues before de que afecten a tus users: un proceso que consume demasiada CPU, disco que se está llenando, or memory RAM al limit.
Comandos esenciales (SSH)
Ver usage de CPU and RAM en tiempo real
top
Para una versión más visual, instala htop:
yum install htop -y && htop
Ver usage of the disco
df -h
Ver qué folders ocupan más space
du -sh /home/* | sort -rh | head -20
Ver usage de RAM
free -h
Ver tráfico de red en tiempo real
yum install iftop -y && iftop
Desde WHM
WHM incluye gráficas de perwaynce en: WHM → Server Status → Server Inwaytion. Verás CPU, RAM, disco and load of the sistheme en tiempo real without usar SSH.
Alertas automatics
Configura alertas en WHM → Server Contacts for recibir emails cuando el usage de CPU, disco or memory supere umbrales definidos.
⚠️ Señales de alerta: If la load of the servidor (load average) supera el número de CPUs de way sostenida, es momento de investigar qué proceso está causendo el issue with el comando
top.