Code: Select all
# systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● rc-local.service loaded failed failed /etc/rc.local Compatibility ● systemd-modules-load.service loaded failed failed Load Kernel Modules LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. #
Also, on a related note, is there an easy way of getting *only* the failed units (e.g. "rc-local, systemd-modules-load"), without the other text, so I can send it to my monitoring in an useful way? Grepping for the "*" maybe?