Skip to content

Tag: sysadmin

All the articles with the tag "sysadmin".

Docker CMD vs ENTRYPOINT: The Final Answer

Docker CMD vs ENTRYPOINT: The Final Answer

· Updated:

CMD and ENTRYPOINT work together rather than competing. Exec form vs shell form, the full behavior matrix, the combo pattern, and the debug override.

How to Actually Read `systemctl status` Output

How to Actually Read `systemctl status` Output

· Updated:

systemctl status packs a lot into 12 lines. What Loaded, Active, Invocation, Main PID, Tasks, and the CGroup tree each tell you when a service misbehaves.

Is Your Linux Server Destroying Its SSD?

Is Your Linux Server Destroying Its SSD?

Default mount options and journald settings burn SSD write endurance. Check health with smartctl, mount noatime, move logs to tmpfs, find the real writer.

journalctl Queries Every Sysadmin Needs

journalctl Queries Every Sysadmin Needs

· Updated:

Essential journalctl commands: -u, -f, --since, -p, -k, -b, --no-pager, JSON output. The queries you need on a broken server at 2 AM.

ss Is the New netstat (And It's Better)

ss Is the New netstat (And It's Better)

· Updated:

ss replaces netstat on modern Linux: faster, shows more socket detail, and reads from the kernel. Every netstat command you rely on, rewritten for ss.

Cleaning Up Docker Disk Space the Right Way

Cleaning Up Docker Disk Space the Right Way

· Updated:

docker system prune reclaims space and can delete volumes you wanted. What each cleanup command removes, how to check usage first, and a safe script.

Why Your Cron Job Is Failing Silently

Why Your Cron Job Is Failing Silently

· Updated:

Cron runs a different PATH, mutes stdout, and breaks MAILTO quietly. Absolute paths, an explicit PATH, log redirection, and how to test a job first.