Show failed units systemd
List all units that are in a failed state
systemctl list-units --state=failed
more systemd
all 26 commands →
Reload unit file after edit
systemctl daemon-reload && systemctl restart myapp.service
Override unit with drop-in
systemctl edit myapp.service
Show unit file content
systemctl cat myapp.service
Analyze boot time
systemd-analyze blame | head -20
Draw boot dependency graph
systemd-analyze dot --require | dot -Tsvg > boot.svg && open boot.svg