Systemd
What is systemd?
systemd
is a daemon (or a service) that manages other daemons for Linux OS. When Linux OS starts or reboots, systemd also starts and continues running to centrally control other daemons until the OS shuts down. You can see how systemd is positioned in Linux OS by running the pstree
command. The pstree
command shows current processes running on the OS in a hierarchical structure.
pstree
systemd─┬─accounts-daemon───2*[{accounts-daemon}]
├─acpid
├─2*[agetty]
├─amazon-ssm-agen─┬─ssm-agent-worke───8*[{ssm-agent-worke}]
│ └─7*[{amazon-ssm-agen}]
├─atd
├─cron
├─dbus-daemon
├─5*[grep]
├─multipathd───6*[{multipathd}]
├─networkd-dispat
├─polkitd───2*[{polkitd}]
├─rsyslogd───3*[{rsyslogd}]
├─snapd───8*[{snapd}]
├─sshd─┬─3*[sshd───sshd───bash]
│ ├─4*[sshd───sshd───sftp-server]
│ └─sshd───sshd───bash───pstree
├─systemd───(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-network
├─systemd-resolve
├─systemd-timesyn───{systemd-timesyn}
├─systemd-udevd
├─unattended-upgr───{unattended-upgr}
└─uuidd hierarchically.
Units
systemd manages and controls other processes through units. T
Subscribe now for
uninterrupted access.