1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:35:22 +02:00
tldr/pages/linux/systemd-analyze.md

34 lines
923 B
Markdown
Raw Normal View History

# 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>.
- Print the last system startup time:
`systemd-analyze`
- 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:
2025-03-17 23:17:57 +02:00
`systemd-analyze dot | dot -T {{svg}} > {{path/to/file.svg}}`
- Show security scores of running units:
`systemd-analyze security`
2025-05-03 19:40:45 +03:00
- View all udev rules together:
`systemd-analyze cat-config udev/rules.d`