Linux/Bash
Systemd Commands
systemd analysis
6 commands
Commands
Show boot time breakdown
$ systemd-analyze
Display total boot time and time spent in kernel vs userspace.
List services by startup time
$ systemd-analyze blame
Show which services took the longest to start during boot.
Show critical startup path
$ systemd-analyze critical-chain
Display the critical chain of units that delayed boot the most.
Generate boot timeline graph
$ systemd-analyze plot > boot.svg
Create an SVG visualization of the boot process timeline.
Validate unit file syntax
$ systemd-analyze verify <unit>
Check a systemd unit file for syntax errors and configuration issues.
Security analysis of service
$ systemd-analyze security <service>
Analyze security and sandboxing settings of a systemd service unit.