systemctl is-failed
Check if one or more systemd units have failed. See also:
systemctl is-active,systemctl status. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-failed PATTERN….
- Check if there are any failed units:
systemctl is-failed
- Check if a unit or multiple units have failed:
systemctl is-failed
- Suppress output and return only the exit code:
systemctl is-failed
- Check if a user unit has failed:
systemctl is-failed --user
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
