commands.sh

systemd-analyze

linux

Analyze and debug system manager. Show timing details about the boot process of units (services, mount points, devices, sockets).

More info →

Examples (7)

Print the last system startup time

List all running units, ordered by the time they took to initialize

Print a tree of the time-critical chain of bootup 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

View all udev rules together without showing comments

systemd-analyze cat-config udev/rules.d --tldr
made by @shridhargupta | data from tldr-pages