3.9 KiB
Certainly! Here's a comprehensive overview and summary of each systemd- tool:
-
systemd-analyze: A tool for analyzing and optimizing system boot-up performance. It can show timing details, critical chains, and generate SVG plots of the boot process. -
systemd-ask-password: Queries the user for a system passphrase, such as for encrypted volumes or SSL certificates, during system boot or runtime. -
systemd-cat: Connects the standard input and output of a process to the system journal, allowing you to capture and view the output of a command or script in the systemd journal. -
systemd-cgls: Recursively shows the control group (cgroup) hierarchy in a tree-like format, displaying the processes and their associated resources. -
systemd-cgtop: Provides a real-time, top-like interface for monitoring control group (cgroup) resource usage, helping identify processes consuming excessive resources. -
systemd-creds: Displays and processes credentials passed to the system from the kernel command line or through thesystemd-runtool. -
systemd-cryptenroll: Allows enrolling encrypted devices such as TPM2 security devices or PKCS#11 tokens into the system and managing their authentication. -
systemd-delta: Compares the current state of systemd units to their default configuration files, identifying any overrides or modifications. -
systemd-detect-virt: Detects whether the system is running in a virtual machine or container environment. -
systemd-escape: Escapes strings for usage in systemd unit names, making them suitable for use as a filename or argument. -
systemd-firstboot: Initializes basic system settings such as locale, time zone, and root password during the first boot of a newly installed system. -
systemd-hwdb: Manages the hardware database, which contains key-value pairs of hardware-specific quirks and configurations. -
systemd-id128: Generates and prints 128-bit IDs, which are used for identifying various objects and entities in systemd. -
systemd-inhibit: Executes a program while inhibiting certain system-wide actions, such as screen blanking, system sleep, or idle mode. -
systemd-machine-id-setup: Generates a unique machine ID for the system, which is used to identify the host in various contexts. -
systemd-mount: Establishes and destroys transient mount points from the command line or in system units. -
systemd-notify: Allows a service to send notification messages to systemd about its state changes. -
systemd-path: Converts file system paths to systemd unit names and vice versa. -
systemd-repart: Automatically grows and adds partitions to a partition table, based on configurable rules. -
systemd-run: Runs a command as a systemd service or scope unit, managing its lifecycle and resource consumption. -
systemd-socket-activate: Runs a socket-activated command, allowing on-demand activation of services based on incoming socket connections. -
systemd-stdio-bridge: Bidirectionally connects the standard input/output/error of a process to a socket, enabling communication with systemd. -
systemd-sysext: Activates, deactivates, and lists system extension images, which are used for extending the system's root directory. -
systemd-sysusers: Creates and manages system users and groups based on declarative configuration files. -
systemd-tmpfiles: Manages the creation, deletion, and cleanup of temporary and volatile files and directories. -
systemd-tty-ask-password-agent: Queries the user for system passphrases through a TTY or terminal. -
systemd-umount: Unmounts mount points, including transient ones, in a controlled and safe manner.
These tools provide a wide range of functionality for system management, service control, resource monitoring, and configuration in a systemd-based environment. They help in analyzing and optimizing system performance, managing system users and groups, handling hardware quirks, and much more.