Name
dmesg
Synopsis
dmesg [options
]
System administration command. Display the system control messages from the kernel ring buffer. This buffer stores all messages since the last system boot, or the most recent ones if the buffer has been filled.
Options
- -c
Clear buffer after printing messages.
- -nlevel
Set the level of system message that will display on console.
- -sbuffersize
Specify buffersize of kernel ring buffer. This is useful if you have changed the kernel default.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.