Можно штатно одной из нескольких команд:
systemctl list-units --failed
или
systemctl list-units --state failed