systemctl
Returns a list of the units, whether they are loaded, active, their sub and description.
systemctl is-failed
Returns a list of status only.
What is the syntax to return the details of the failed units?
You can use systemctl list-units --state=failed
to list all failed units.
EDIT: Since systemd version 233 (March 2017) systemctl --failed
is documented as equivalent to the above.
The parameters for systemctl are documented in the man page systemctl(1).
list-units
and go with systemctl --failed
by itself :)
systemctl status
tells me the one+ things are failed, but wont tell me what. I need to run another command, not under the status
subcommand to find out. Shame.
Commented
Jun 22, 2018 at 3:02