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

2022-04-28 Thread Barry
> On 29 Apr 2022, at 07:06, Ulrich Windl > wrote: > >  >> Barry Scott schrieb am 28.04.2022 um 17:03 in > Nachricht : >> 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 someth

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

2022-04-28 Thread Ulrich Windl
>>> Barry Scott schrieb am 28.04.2022 um 17:03 in Nachricht : > 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"? >