Skip to content

Instantly share code, notes, and snippets.

@jfnixon
Created November 20, 2022 01:10
Show Gist options
  • Save jfnixon/2ab2c67e32da8ad7d96a85a287bd56dd to your computer and use it in GitHub Desktop.
Save jfnixon/2ab2c67e32da8ad7d96a85a287bd56dd to your computer and use it in GitHub Desktop.
Look up journalctl errors
journalctl --no-pager --since today --grep 'fail|error|fatal' --output json|jq '._EXE' | \
sort | uniq -c | sort --numeric --reverse --key 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment