Troubleshooting checkpoint
Complete a focused triage loop.
Understand the pattern
Junior operators build confidence by gathering evidence before changing systems.
uptime- Read simulated runtime and load information.
Load average is not a direct CPU percentage.
systemctl- Inspect or change a simulated systemd service. Status, active state, and unit configuration reveal different evidence.
A service can be active while an application endpoint is unhealthy; verify both layers.
journalctl- Read the training journal by unit or a bounded line window.
A relevant unit and time range are more useful than an unfiltered wall of logs.
printf- Format data deliberately, including separators and final newlines.
A format string controls output; a newline is data, not an automatic guarantee.
tee- Copy a stream both to a file and standard output; -a appends.
tee can overwrite a file even though the output is also visible on screen.
Worked example and expected result
$ uptime10:26:04 up 12 days, 4:18, 1 learner, load average: 0.04, 0.03, 0.01
Exit status: 0. The command completed successfully in the training fixture.
$ systemctl status nginxnginx.service - simulated nginx Loaded: loaded Active: active Notes: serving the simulated static learn site
Exit status: 0. The command completed successfully in the training fixture.
$ journalctl -u nginx -n 2May 26 08:10:01 clairos-learn nginx[42]: started static training site May 26 08:20:05 clairos-learn nginx[42]: access denied for /api/test by static rule
Exit status: 0. The command completed successfully in the training fixture.
$ printf triage-complete | tee lab/triage.txttriage-complete
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Incident website downTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.