2014-04-12 08:53:32 -04:00
|
|
|
.TH DMESG 1 ubase-VERSION
|
|
|
|
.SH NAME
|
2014-04-12 09:16:20 -04:00
|
|
|
\fBdmesg\fR - Print or control the kernel ring buffer
|
2014-04-12 08:53:32 -04:00
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBdmesg\fR [\fB-Ccr\fR] [\fB-n\fR \fIlevel\fR]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBdmesg\fR examines or controls the kernel ring buffer. By default
|
|
|
|
it reads all the messages from the kernel ring buffer and prints them
|
|
|
|
on stdout.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-C\fR
|
|
|
|
Clear the ring buffer.
|
2014-04-12 08:53:32 -04:00
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-c\fR
|
|
|
|
Clear the ring buffer after printing its contents.
|
2014-04-12 08:53:32 -04:00
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-n\fR
|
|
|
|
Set the console \fIlevel\fR.
|
2014-04-12 08:53:32 -04:00
|
|
|
.TP
|
2014-04-13 11:40:40 -04:00
|
|
|
\fB-r\fR
|
|
|
|
Print the raw message buffer.
|