-
Notifications
You must be signed in to change notification settings - Fork 12
systemd
kimschles edited this page May 9, 2019
·
2 revisions
- A system manager daemon that has replaced UNIX init in a lot of linux distributions.
- It has been controversial because systemd violates the UNIX principle of "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features."
- PID 1
- networkd
- journald
- collects log messages from the kernel and services
- system messages are stored in
/run
-
rsyslog
can store these messages in log files, or forward them to a syslog server - the systemd journal configuration file is at
/etc/systemd/journald.conf
-
journalctl --disk-usage
shows how much diskspace journald is using
- logind
-
systemctl
lists all running services -
journalctl
lists all log entries with the oldest first * -
systemd-analyze
shows system boot performance stats -
hostnamectl
controls the system hostname- To change the hostname,
hostnamectl set-hostname <name_here>
- To change the hostname,
-
timedatectl
controls the system time and datetimedatectl set-time <time>
- Chapter 2 The Unix and Linux System Administration Handbook, Fifth Edition
- Linux Academy: Mastering Systemd