1 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
5 dmesg \- print or control the kernel ring buffer
7 .BI "dmesg [ \-c ] [ \-n " level " ] [ \-s " bufsize " ]"
10 is used to examine or control the kernel ring buffer.
12 The program helps users to print out their bootup messages. Instead of
13 copying the messages by hand, the user need only:
19 file to whoever can debug their problem.
23 Clear the ring buffer contents after printing.
28 to query the kernel ring buffer. This is 16392 by default.
29 (The default kernel syslog buffer size was 4096
30 at first, 8192 since 1.3.54, 16384 since 2.1.113.)
31 If you have set the kernel buffer to be larger than the default
32 then this option can be used to view the entire buffer.
37 at which logging of messages is done to the console. For example,
39 prevents all messages, expect panic messages, from appearing on the
40 console. All levels of messages are still written to
44 can still be used to control exactly where kernel messages appear. When
51 print or clear the kernel ring buffer.
53 When both options are used, only the last option on the command line will
58 .\" Theodore Ts'o (tytso@athena.mit.edu)