journalctl command to see kernel messages
2017-01-30
98 words
1 min read
Sometimes, there are just too many messages in journalctl output and it becomes a mystery game to search for the messages you are looking for. But luckily you do not need to use grep to find the right message. Here is example of what I had to do when I was looking for kernel messages.
journalctl _TRANSPORT=kernel # To see all the fields, you can use the verbose mode journalctl _TRANSPORT=kernel -o verbose # And the filter on priority if needed to get the messages you need journalctl _TRANSPORT=kernel PRIORITY=4 # and follow journalctl _TRANSPORT=kernel PRIORITY=4 -f -l
Related Articles:
- 2016/04/25 speed up journalctl
- 2010/01/24 Short Information about loaded kernel modules
- 2015/04/13 ionice – renice you IO activity for the process.
- 2015/03/24 PID File for squid in Fedora – 21 ( Fedora.next)
- 2013/12/12 get systemd journal entries on web interface.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.