List all failed systemd services

Show every systemd unit currently in a failed state, so you can inspect and restart whatever broke.

LinuxProcessessystemDiagnosticsMedium risk
Run systemctl --failed to list all units in the failed state right now.

01Command

Command
$ systemctl --failed

02What it does

systemctl --failed is equivalent to systemctl list-units --state=failed and shows unit name, load state, and the short 'Failed' status line. For each listed unit, run systemctl status <unit> to see the exit code and last log lines (it also points you to the relevant journalctl command). After fixing the cause, clear the failed state with systemctl reset-failed <unit>, or with no arguments to clear all. Use --user to check failed user units instead of system ones.

03Risk

RiskMedium risk

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • systemctl(1) — Linux manual page
    man7.org · technical · 2026-09-17
    Evidence: The systemctl man page documents '--failed' as listing units that are in a failed state, making them easier to identify.
  • systemd - ArchWiki
    Arch Linux Wiki · community · 2026-09-17
    Evidence: The ArchWiki systemd page recommends systemctl --failed to quickly list units that failed to run at boot.

Last verified: 2026-09-17 · Category: System & Settings

06Related solutions