[systemd-devel] Antw: [EXT] [systemd‑devel] Query degraded state

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Apr 29 06:06:00 UTC 2022


>>> Barry Scott <barry at barrys-emacs.org> schrieb am 28.04.2022 um 17:03 in
Nachricht <B071DC37-83EA-41AD-8DAA-9F5AF7FE67B5 at barrys-emacs.org>:
> Is there a command I can use to test for the degraded state?
> 
> I could parsing the output of systemctl‑failed or
> syetemctl status but was looking for something less fragile.

Do you mean "systemctl --state=failed list-units"?

> 
> Barry





More information about the systemd-devel mailing list