Trace a Failing Linux Program with strace
Follow file, network, process, and signal system calls until a vague application error becomes a concrete errno and pathname.
7 min read
Topic
21 articles
Operational practices for administering reliable Linux systems.
Follow file, network, process, and signal system calls until a vague application error becomes a concrete errno and pathname.
7 min read
Use archive mode, trailing slashes, dry runs, itemized output, and deletion previews to turn an rsync command into a reviewable plan.
6 min read
Separate effective client configuration, DNS, TCP, host-key checks, authentication, and session startup without editing the server blindly.
6 min read
Use ip route get, policy rules, source selection, and network namespaces to explain one routing decision without sending a probe packet.
5 min read
Use findmnt to identify the filesystem behind a path, separate VFS options from filesystem options, and inspect mounts without parsing df output.
4 min read
When mode bits look correct but access still fails, use getfacl to inspect named users, group entries, masks, and inherited default ACLs.
5 min read
Use logrotate's debug mode with a copied configuration, then inspect state and service scheduling before forcing a production rotation.
5 min read
Find a crashed process, review its metadata, export the core safely, and open it in a debugger without losing track of the exact executable.
5 min read
Map device names to filesystem UUIDs, partition UUIDs, labels, types, and mountpoints before editing storage configuration or replacing a disk.
4 min read
Separate clock display, synchronization state, source health, and service ownership when a Linux host reports the wrong time.
4 min read
Move through nftables families, tables, base chains, hooks, priorities, policies, matches, counters, and verdicts before proposing a firewall change.
5 min read
Use ss to move from a port conflict to the exact listener, address, process, and file descriptor without guessing or killing the wrong service.
7 min read