mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
systemd-analyze: Add examples for 'plot' and 'dot' (#5784)
This commit is contained in:
parent
0ca6ac1efb
commit
743f7d7d4f
1 changed files with 8 additions and 0 deletions
|
@ -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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue