Skip to content

All Hosomaki commands are read-only with respect to the system they're diagnosing, none of them modify system state. Two commands write to Hosomaki's own local state directory: audit --init creates the baseline snapshot, and history --clear deletes the history log.

Commands at a glance

CommandWhat it does
explainExplain errors from a service, boot, log file, pipe, inline text, or a running process
statusQuick summary of current system health
doctorFull diagnosis with concrete suggested actions
auditSurface changes since a baseline snapshot
watchTail a service journal and explain errors in real time
whyReconstruct the failure chain for a given exit code and service
portsList listening ports and flag anything unexpected
timersInspect systemd timers and flag failures or overdue schedules
cronsRead all crontabs and explain what each job does
mountsInspect active mounts, detect stale NFS, and flag disks nearing capacity
updatesExplain pending package updates before applying them
historyReview past diagnostic results
shell-integrationInstall a shell wrapper that explains failed commands automatically

Common flags

All commands accept:

FlagDescription
--debugPrint raw model response

Run hosomaki <command> --help for the full flag reference of any command.