LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-is-failed

Check if units have failed

TLDR

Check for any failed units
$ systemctl is-failed
copy
Check if specific unit failed
$ systemctl is-failed unit_name
copy
Check multiple units
$ systemctl is-failed unit1 unit2
copy
Quiet mode (exit code only)
$ systemctl is-failed -q unit_name
copy
Check user unit
$ systemctl is-failed --user unit_name
copy

SYNOPSIS

systemctl is-failed [OPTIONS] [PATTERN...]

DESCRIPTION

systemctl is-failed checks if one or more systemd units have failed. It returns exit code 0 if any specified unit is in a failed state, useful for scripting and monitoring.

PARAMETERS

PATTERN

Unit names or patterns to check (checks all units if omitted)
-q, --quiet
Suppress output, only return exit code
--user
Check user units instead of system units

CAVEATS

Exit code 0 means at least one unit is failed; non-zero means no failures or unit not found. Without arguments, checks all units and returns 0 if any are failed.

HISTORY

systemctl is-failed is part of systemd, providing status checking commands for scripting and automation.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid