๐ ๏ธ Troubleshooting
Systematic approach to diagnosing Linux issues.
๐ Step 1: Check System Health
| uptime
top
htop
free -h
df -h
|
๐ Step 2: Check Logs
| journalctl -xe
journalctl -u <service>
dmesg | tail
|
๐ Step 3: Check Services
| systemctl status <service>
systemctl restart <service>
|
๐ Step 4: Check Network
| ip a
ip r
ss -tulpn
ping 8.8.8.8
|
๐ Step 5: Check Disk & I/O
| iostat
iotop
smartctl -a /dev/sda
|
๐จ Common Issues
- Out of memory
- Disk full
- Wrong permissions
- Misconfigured service
- Firewall blocking traffic