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

Barry barry at barrys-emacs.org
Fri Apr 29 06:27:27 UTC 2022



> On 29 Apr 2022, at 07:06, Ulrich Windl <Ulrich.Windl at rz.uni-regensburg.de> wrote:
> 
> 
>> 
>>>> 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"?

I use systemctl —failed

Barry

> 
>> 
>> Barry
> 
> 
> 



More information about the systemd-devel mailing list