Skip to content

Instantly share code, notes, and snippets.

@albertpark
Created May 14, 2020 17:00
Show Gist options
  • Save albertpark/45ad03594188516f9c153b44edae080c to your computer and use it in GitHub Desktop.
Save albertpark/45ad03594188516f9c153b44edae080c to your computer and use it in GitHub Desktop.

Systemctl Status Service Logs

Just use the journalctl command, as in:

→ $ journalctl -u service-name.service

Or, to see only log messages for the current boot:

→ $ journalctl -u service-name.service -b

For things named <something>.service, you can actually just use <something>, as in:

→ $ journalctl -u service-name

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment