List failed systemd services
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementssystemctlsystemctl must be installed and available on PATH.
Version supportsystemctl Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsUNIT LOAD ACTIVE SUB DESCRIPTIONRepresentative successful output; values vary with the selected target and system state.
Known errorssystemctl: command not foundsystemctl is missing or is not available on PATH.
Verifysystemctl --failedThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01systemctlCommandRuns the systemctl stage of this one-liner.
02--failedOptionConfigures systemctl with the --failed option.
Example input
systemctl --failed
Example output
UNIT LOAD ACTIVE SUB DESCRIPTION
● backup.service loaded failed failed Nightly backup
1 loaded units listed.
Illustrative output — exact values vary by system and data.
Official sources