Recursive dependency tree systemd
Walk the full Wants/Requires tree to debug why a service pulls in others; --reverse for who needs it
systemctl list-dependencies <unit> --all
more systemd
all 26 commands →
Live memory of a unit
systemctl show -p MainPID,MemoryCurrent,TasksCurrent <unit>
Clear failed state
systemctl reset-failed && systemctl list-units --state=failed
Transient one-shot timer
systemd-run --on-calendar='*-*-* 03:00:00' --unit=backup /usr/local/bin/backup.sh
Runtime resource cap
systemctl set-property --runtime <unit> MemoryMax=512M CPUQuota=50%
Pending jobs queue
systemctl list-jobs