systemd-analyze #
Example: show boot time #
bash
systemd-analyze time
text
Startup finished in 546ms (userspace)
graphical.target reached after 538ms in userspace
Example: show boot time for each unit #
bash
systemd-analyze blame
text
3.437s docker.service
259ms dev-sdb.device
235ms user@0.service
223ms containerd.service
174ms networkd-dispatcher.service
149ms systemd-resolved.service
113ms systemd-logind.service
87ms keyboard-setup.service
81ms systemd-journal-flush.service
73ms systemd-udevd.service
69ms e2scrub_reap.service
65ms apport.service
54ms systemd-udev-trigger.service
36ms systemd-journald.service
27ms rsyslog.service
Example: show critical chain #
bash
systemd-analyze critical-chain [UNIT...]
text
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @722ms
└─multi-user.target @722ms
└─networkd-dispatcher.service @486ms +234ms
└─basic.target @474ms
└─sockets.target @473ms
└─docker.socket @418ms +9ms
└─sysinit.target @407ms
└─systemd-update-utmp.service @396ms +9ms
└─systemd-tmpfiles-setup.service @367ms +20ms
└─systemd-journal-flush.service @256ms +108ms
└─systemd-journald.service @208ms +46ms
└─systemd-journald.socket @196ms
└─system.slice @160ms
└─-.slice @160ms