dmesg

来源:互联网 发布:linux 添加开机动画 编辑:程序博客网 时间:2024/04/28 22:56
DMESG(8)FreeBSD System Manager's Manual     DMESG(8)


NAME
     dmesg -- display the system message buffer


SYNOPSIS
     dmesg [-ac] [-M core [-N system]]


DESCRIPTION
     The dmesg utility displays the contents ofthe system message buffer.  If
     the -M option is not specified, the buffer is read from the currently
     running kernel via the sysctl(3) interface.  Otherwise, the bufferis
     read from the specified core file, using the name list from the specified
     kernel image (or from the default image).


     The options are as follows:


     -a     Show all data in the message buffer.  Thisincludes any syslog
    records and /dev/console output.


     -c     Clear the kernel buffer after printing.


     -M     Extract values associated with thename list from the specified
    core.


     -N     If-M is also specified, extract the name list from the specified
    system instead of the default, which is the kernelimage the sys-
    tem has booted from.


FILES
     /var/run/dmesg.boot  usually a snapshot of the buffer contents taken soon
 after file systems are mounted at startup time


SEE ALSO
     sysctl(3), syslogd(8)


HISTORY
     The dmesg utility appeared in 4.0BSD.


FreeBSD 10.1  May 9, 2013  FreeBSD 10.1

0 0
原创粉丝点击