Skip to content
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN DE
Let's talk

Linux: 10 Commands That Save the Day

21. 06. 2025 1 min read intermediate

Server unresponsive, disk full, network down. Here are 10 commands that will save you.

1. df/du — Full Disk

df -h du -sh /* 2>/dev/null | sort -rh | head -10 find / -xdev -type f -size +100M 2>/dev/null

2. ps/kill — Processes

ps aux –sort=-%mem | head -20 kill -9 $(pgrep -f “stuck_process”)

3. lsof — Who’s Holding a File/Port?

lsof -i :8080 lsof +D /var/log

4. ss — Network

ss -tlnp ss -s

5. dmesg — Kernel Logs

dmesg -T | tail -50 dmesg | grep -i “out of memory”

6. journalctl — systemd

journalctl -u nginx –since “1 hour ago” journalctl -p err -b journalctl –vacuum-size=500M

7. strace — What is a Process Doing?

strace -p 12345 strace -c -p 12345

8. iotop/iostat — I/O

iotop -o iostat -x 1

9. tcpdump

tcpdump -i eth0 port 80 tcpdump -w capture.pcap

10. Rescue Operations

mount -o remount,rw / echo s > /proc/sysrq-trigger

Remember

In a crisis, diagnose systematically: disk → memory → CPU → network → application.

linuxsysadmintroubleshooting
Share:

CORE SYSTEMS team

We build core systems and AI agents that keep operations running. 15 years of experience with enterprise IT.