systemd-analyze command examples

systemd-analyze command examples

systemd-analyze – Analyze system boot-up performance

Example 1. Plots all dependencies of any unit whose name starts with “avahi-daemon”

$ systemd-analyze dot 'avahi-daemon.*' | dot -Tsvg > avahi.svg
$ eog avahi.svg

Example 2. Plots the dependencies between all known target units

systemd-analyze dot --to-pattern='*.target' --from-pattern='*.target' | dot -Tsvg > targets.svg
$ eog targets.svg

Leave a Reply

Your email address will not be published. Required fields are marked *