Show last status and logs for a failed unit.

Section: Incident Debugging

Inspect failed service

bash
bash
systemctl status myapp.service
Explanation

Status is often the fastest single command for incidents.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Incident Debugging
Show restart policy
Inspect restart and rate limit settings.
OpenIn sheetbashsame section
Create override drop-in
Open editor for safe unit overrides.
OpenIn sheetbashsame section
Remove overrides
Revert a unit to vendor/default state.
OpenIn sheetbashsame section
Service logs this boot
Show one service's logs for the current boot.
OpenIn sheetbashsame section
Service logs previous boot
Inspect service logs from the last boot.
OpenIn sheetbashsame section
Show service command
Inspect the ExecStart setting.
OpenIn sheetbash1 tag match