Systemd
Contents |
Description
According to the developers homepage "systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit."
systemd was introduced in LinuxBBQ in October 2012.
Management
In other service managers, services are started with the service NAME start|stop|restart command; in systemd we use systemctl start|stop|reload NAME for the session (is not boot persistent) or use systemctl enable|disable NAME to make it boot persistent.
Boot process analysis
We can print out the total boot time with the command
systemd-analyze
To find out which services take how long during the boot process, we can utilize the command
systemd-analyze blame
According to this output, we can now disable the faulty processes (using systemctl disable NAME) or remove them altogether via APT.
Links
- Official website at freedesktop.org
- Developer's blog
- SysVInit to systemd cheat sheet
- Blame slow boot on systemd