1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}}`