Linux kernel ring buffer

From wikinotes

The kernel ring buffer is an in-memory buffer that the kernel writes logs to.
You can view/interact with the buffer using linux dmesg.