Forrest logo
back to the systemctl tool

systemctl:tldr:9ee11

systemctl: List failed units.
$ systemctl --failed
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the systemctl tool