3 ms·
I was kinda hoping to get a description of what dmesg actually is/does...but it's mostly about customizing the output. I could search for it of course, but it w
by ddoolin 13y ago
I was kinda hoping to get a description of what dmesg actually is/does...but it's mostly about customizing the output. I could search for it of course, but it was a bit of a surprise to not see any intro to it.
I've been using dmesg for awhile on Arch to debug USB devices mostly, without any clue to what it actually is.
- sciurus 13y agodmesg reads and displays the contents of /proc/kmsg. /proc/kmsg is an interface to a buffer where the output from calls to printk is stored. printk is the linux kernel's equivalent of libc's printf function.