systemd-analyze: Add examples for 'plot' and 'dot' (#5784)

This commit is contained in:
Sematre
2021-04-18 17:28:12 +02:00
committed by GitHub
parent 0ca6ac1efb
commit 743f7d7d4f

View File

@@ -9,3 +9,11 @@
- Print a tree of the time critical chain of units:
`systemd-analyze critical-chain`
- Create an SVG file showing when each system service started, highlighting the time that they spent on initialization:
`systemd-analyze plot > {{path/to/file.svg}}`
- Plot a dependency graph and convert it to an SVG file:
`systemd-analyze dot | dot -T{{svg}} > {{path/to/file.svg}}`