Show failed units

List all units that are in a failed state

systemctl list-units --state=failed

tool
systemd26 commands
tags
systemddebug

More systemd commands

  • systemctl daemon-reload && systemctl restart myapp.service

    Reload unit definitions and restart the service

  • systemctl edit myapp.service

    Create /etc/systemd/system/myapp.service.d/override.conf with partial overrides

  • systemctl cat myapp.service

    Print the full unit file including drop-ins

  • systemd-analyze blame | head -20

    Show top 20 units by initialization time

  • systemd-analyze dot --require | dot -Tsvg > boot.svg && open boot.svg

    Render full boot dependency graph as SVG

all 26 systemd commands