Command
systemctl --failed --no-pagerWhen to use it
Use this as a first check after a restart or when an expected service is no longer working.
How it works
- systemctl --failed filters units in a failed state.
- Then use systemctl status name.service to inspect a specific service.
Precautions
- Do not restart a critical service until you understand why it failed.
Rollback
No changes are made.