1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 17:19:47 +01:00
tldr/pages/linux/systemd-analyze.md
Lena c6b9dbfa96
systemd-analyze, systemd-run: update page (#10105)
* systemd-run: change 'executable' placeholders to 'command' for consistency

* systemd-analyze: update page

* systemd-run: remove double space
2023-05-16 18:38:05 +05:30

25 lines
788 B
Markdown

# systemd-analyze
> Analyze and debug system manager.
> Show timing details about the boot process of units (services, mount points, devices, sockets).
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-analyze.html>.
- List all running units, ordered by the time they took to initialize:
`systemd-analyze blame`
- 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}}`
- Show security scores of running units:
`systemd-analyze security`