Skip to main content

Troubleshooting Linux

check CPU usage top
htop
check disk usage df -h
du -sh *
check running processes ps aux | grep process
monitor logs in real time tail -f /var/log/syslog
check open ports netstat -tulnp
check the availability of a service systemctl status service
restart a service systemctl restart service
check RAM usage free -m
check network connectivity ping host
curl url