systemctl:tldr:9ee11
The systemctl --failed
command is used to display a list of systemd units that have failed to start or encountered errors.
Systemd is a system and service manager for Linux operating systems. It is responsible for managing the startup and control of services, daemons, and other system processes.
When you run systemctl --failed
, it queries the systemd system for any units (services, sockets, mount points, timers, etc.) that failed to start successfully. The command will display a list of these failed units, along with their detailed status and error messages.
This command is helpful for troubleshooting and identifying any services or units that are not functioning correctly. Once identified, you can further investigate the error messages and take appropriate actions to resolve the issues with those units.