Skip to content

Latest commit

 

History

History
200 lines (184 loc) · 11.2 KB

cix-systemd.org

File metadata and controls

200 lines (184 loc) · 11.2 KB

systemd

|≣|

AuthorLennart Poettering, Kay Sievers,
Harald Hoyer, Daniel Mack,
Tom Gundersen, David Herrmann
Contibutors
Released2010
Sourcesystemd.git
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 cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic.

Pacakges

PackageRPMDEB
systemd+
systemd-udev+

Libraries

LibraryRPMDEB
ld-linux-x86-64
libacl
libaudit
libblkid
libcap
libcrypt
libc
libgcc_s
libgcrypt
libgpg-error
libkmod
liblz4
liblzma
libmount
libm
libpam
libpthread
libqrencode
librt
libseccomp
libselinux

Index

systemd

| CMD                            | MAN  | DESCRIPTION                                               |
| bootctl                        | (1)  | Control the firmware and boot manager settings            |
| busctl                         | (1)  | Introspect the bus                                        |
| coredumpctl                    | (1)  | Retrieve coredumps from the journal                       |
| hostnamectl                    | (1)  | Control the system hostname                               |
| journalctl                     | (1)  | Query the systemd journal                                 |
| kernel-install                 | (8)  | Add and remove kernel and initramfs images to and from... |
| localectl                      | (1)  | Control the system locale and keyboard layout settings    |
| loginctl                       | (1)  | Control the systemd login manager                         |
| networkctl                     | (1)  | Query the status of network links                         |
| systemctl                      | (1)  | Control the systemd system and service manager            |
| systemd-analyze                | (1)  | Analyze system boot-up performance                        |
| systemd-ask-password           | (1)  | Query the user for a system password                      |
| systemd-cat                    | (1)  | Connect a pipeline or program's output with the journal   |
| systemd-cgls                   | (1)  | Recursively show control group contents                   |
| systemd-cgtop                  | (1)  | Show top control groups by their resource usage           |
| systemd-delta                  | (1)  | Find overridden configuration files                       |
| systemd-detect-virt            | (1)  | Detect execution in a virtualized environment             |
| systemd-escape                 | (1)  | Escape strings for usage in system unit names             |
| systemd-firstboot              | (1)  | Initialize basic system settings on or before the fir...  |
| systemd-inhibit                | (1)  | Execute a program with an inhibition lock taken           |
| systemd-machine-id-setup       | (1)  | Initialize the machine ID in /etc/machine-id              |
| systemd-notify                 | (1)  | Notify service manager about start-up completion and o... |
| systemd-path                   | (1)  | List and query system and user paths                      |
| systemd-resolve                | (1)  | Resolve domain names, IPV4 and IPv6 addresses, DNS res... |
| systemd-run                    | (1)  | Run programs in transient scope or service or timer units |
| systemd-sysusers               | (8)  | Allocate system users and groups                          |
| systemd-tmpfiles               | (8)  | Creates, deletes and cleans up volatile and temporary ... |
| systemd-tty-ask-password-agent | (1)  | List or process pending systemd password...               |
| timedatectl                    | (1)  | Control the system time and date                          |
| halt                           | (8)  | Halt, power-off or reboot the machine                     |
| init                           | (1)  | systemd system and service manager                        |
| poweroff                       | (8)  | Halt, power-off or reboot the machine                     |
| reboot                         | (8)  | Halt, power-off or reboot the machine                     |
| reboot                         | (2)  | reboot or enable/disable Ctrl-Alt-Del                     |
| runlevel                       | (8)  | Print previous and current SysV runlevel                  |
| shutdown                       | (8)  | Halt, power-off or reboot the machine                     |
| shutdown                       | (2)  | shut down part of a full-duplex connection                |
| shutdown                       | (3p) | shut down socket send and receive operations              |
| telinit                        | (8)  | Change SysV runlevel                                      |

systemd-udev

| CMD          | MAN | DESCRIPTION                       |
| systemd-hwdb | (8) | hardware database management tool |
| udevadm      | (8) | udev management tool              |
| udevadm      | (8) | udev management tool              |

Receipts

bootctl

busctl

coredumpctl

hostnamectl

journalctl

journalctl::options

journalctl::examples

journalctl-180208230457

dumb full log history of a SERVICE as JSON file:

   ~# journalctl --output=json --no-pager -u SERVICE > SERVICE_dump.json

kernel-install

localectl

loginctl

networkctl

systemctl

systemd-analyze

systemd-ask-password

systemd-cat

systemd-cgls

systemd-cgtop

systemd-delta

systemd-detect-virt

systemd-escape

systemd-firstboot

systemd-inhibit

systemd-machine-id-setup

systemd-notify

systemd-path

systemd-resolve

systemd-run

systemd-sysusers

systemd-tmpfiles

systemd-tty-ask-password-agent

timedatectl

halt

init

poweroff

reboot

runlevel

shutdown

telinit

udevadm

Send control commands or test the device manager

udevadm::options

OPTTYPE++V–VDESC
infoQuery sysfs or the udev database
triggerRequest events from the kernel
settleWait for pending udev events
controlControl the udev daemon
monitorListen to kernel and udev events
testTest an event run
test-builtinTest a built-in command

udevadm::examples

udevadm-170808190519

update/reload udev rules without system reboot:

   ~# udevadm control --reload-rules && udevvadm trigger

udevadm-171122220540

get full udev attribute list for a DEVICE:

   ~# udevadm info -a -p $(udevadm info -q path -n /dev/DEVICE)

udevadm-171122220727

testing rules before loading:

   ~# udevadm test $(udevadm info -q path -n DEVICE)

References

Wiki