5 ms·
Feed "systemd-analyze dot" to Graphviz and you get a dependency graph of the current boot. Also try the other options to systemd-analyze, such as "critical-cha
by vidarh 13y ago
Feed "systemd-analyze dot" to Graphviz and you get a dependency graph of the current boot.
Also try the other options to systemd-analyze, such as "critical-chain", as well as systemd-cgls to get a view of how the currently running processes relate to specific service files.
Together it should give you a view of what gets executed when (to the fraction of a second) and why.
- EdiX 13y ago>Feed "systemd-analyze dot" to Graphviz Maybe on Arch this is simpler, on Fedora systemd-analyze dot produces a nightmare that no human mind can navigate.
- pavanky 13y agoIt is the same on Fedora and Arch. But you can visualize it as an svg. It says so right at the bottom when you run the command. > -- Try a shell pipeline like 'systemd-analyze dot | dot -Tsvg > systemd.svg'!
- EdiX 13y agoYou don't understand, the graph itself is a nightmare, in any format. EDIT: there are 1101 edges in the graph produced on my machine.