📄 dmesg.8
字号:
.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu).\" May be distributed under the GNU General Public License.TH DMESG 8 .SH NAMEdmesg \- print or control the kernel ring buffer.SH SYNOPSIS.BI "dmesg [ \-c ] [ \-n " level " ] [ \-s " bufsize " ]".SH DESCRIPTION.B dmesgis used to examine or control the kernel ring buffer.The program helps users to print out their bootup messages. Instead ofcopying the messages by hand, the user need only:.RSdmesg > boot.messages.REand mail the.I boot.messagesfile to whoever can debug their problem..SH OPTIONS.TP.B \-cClear the ring buffer contents after printing..TP.BI \-s bufsizeUse a buffer of size.I bufsizeto query the kernel ring buffer. This is 16392 by default.(The default kernel syslog buffer size was 4096at first, 8192 since 1.3.54, 16384 since 2.1.113.)If you have set the kernel buffer to be larger than the defaultthen this option can be used to view the entire buffer..TP.BI \-n levelSet the.I levelat which logging of messages is done to the console. For example,.B \-n 1prevents all messages, expect panic messages, from appearing on theconsole. All levels of messages are still written to.IR /proc/kmsg ,so.BR syslogd (8)can still be used to control exactly where kernel messages appear. Whenthe.B \-noption is used,.B dmesgwill.I notprint or clear the kernel ring buffer.When both options are used, only the last option on the command line willhave an effect..SH SEE ALSO.BR syslogd (8).SH AUTHORTheodore Ts'o (tytso@athena.mit.edu)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -