What Does Dmesg Command Do in Linux?
Contents

dmesg command also called as “driver message” or “display message” is used to examine the kernel ring buffer and print the message buffer of kernel. The output of this command contains the messages produced by the device drivers.

What does the Dmesg command do?

dmesg (diagnostic message) is a command on most Unix-like operating systems that prints the message buffer of the kernel. The output includes messages produced by the device drivers.

How does Dmesg work in Linux?

The ‘dmesg’ command displays the messages from the kernel ring buffer. A system passes multiple runlevel from where we can get lot of information like system architecture, cpu, attached device, RAM etc. When computer boots up, a kernel (core of an operating system) is loaded into memory.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest