« Back to Systemd: Frequently Asked Questions

How to see kernel messages with journalctl

The journalctl command can show all events related to the kernel itself usig the --dmesg option. This option will filter out kernel messages and has a similar output as the dmesg command.

Usage

Use the full or shorter option to query the kernel messages.

journalctl -k

Looking for only the kernel messages of today? Combine it with the --since= option.

journalctl -k -S "today"

Learn more about journalctl

This article uses the journalctl command to achieve its tasks. For this popular tool there is a cheat sheet available!

» Mastering the tool: journalctl

journalctl cheat sheet

Other questions related to systemd

Feedback

Is the described answer not working or incorrect, got another tip or question? Share your thoughts!