lsof: The Tool That Shows You Everything
Master lsof to find port conflicts, trace deleted files eating disk, and debug network connections.
All the articles with the tag "sysadmin".
Master lsof to find port conflicts, trace deleted files eating disk, and debug network connections.
Decode Docker exit codes: 0 (success), 1 (app error), 125/126/127 (Docker errors), 137 (OOM), 143 (SIGTERM). Debug restarts in minutes.
Manage Linux process priority with nice (CPU) and ionice (I/O). Learn priority levels, renice running processes, and avoid tanking server performance.
File descriptors and why that 1024 limit kills your server. How to check, raise, and debug fd exhaustion.
Docker's default JSON logging driver writes unbounded logs to disk. Learn how to set log rotation and reclaim your storage.
Schedule one-off Linux tasks with `at` instead of cron. Learn syntax, queue management, batch jobs, and when to use it for delayed reboots and reminders.
PID 1 doesn't receive signals by default. Learn why Ctrl+C fails in containers and fix it with tini or exec form CMD.
btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.
Something's squatting on port 8080 and you need to know what. ss, lsof, and fuser one-liners to find and kill the culprit fast.
The Linux commands every sysadmin reaches for daily — file ops, process management, networking, and text manipulation you can't live without.
xargs turns stdin into arguments — build complex pipelines, run parallel jobs, and handle filenames with spaces without breaking everything.
LVM lets you resize volumes, add disks, and take snapshots without repartitioning — PVs, VGs, and LVs explained with real commands.