Created
November 20, 2022 01:10
-
-
Save jfnixon/2ab2c67e32da8ad7d96a85a287bd56dd to your computer and use it in GitHub Desktop.
Look up journalctl errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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