systemd-analyze: Add examples for 'plot' and 'dot' (#5784)
This commit is contained in:
@@ -9,3 +9,11 @@
|
|||||||
- Print a tree of the time critical chain of units:
|
- Print a tree of the time critical chain of units:
|
||||||
|
|
||||||
`systemd-analyze critical-chain`
|
`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}}`
|
||||||
|
Reference in New Issue
Block a user