« Back to Systemd: Frequently Asked Questions

How to see kernel messages with journalctl

This article has last been updated at .

How to see kernel messages with journalctl?

Run journalctl with the '--dmesg' option to see kernel messages.

journalctl --dmesg

The journalctl command can show all events related to the kernel itself using 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

Other questions related to Systemd

Feedback

Small picture of Michael Boelen

This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

Mastodon icon

Related articles

Like to learn more? Here is a list of articles within the same category or having similar tags.