2014-04-12 12:53:32 +00:00
|
|
|
.TH DMESG 1 ubase-VERSION
|
|
|
|
.SH NAME
|
2014-04-12 13:16:20 +00:00
|
|
|
\fBdmesg\fR - Print or control the kernel ring buffer
|
2014-04-12 12:53:32 +00: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 15:40:40 +00:00
|
|
|
\fB-C\fR
|
|
|
|
Clear the ring buffer.
|
2014-04-12 12:53:32 +00:00
|
|
|
.TP
|
2014-04-13 15:40:40 +00:00
|
|
|
\fB-c\fR
|
|
|
|
Clear the ring buffer after printing its contents.
|
2014-04-12 12:53:32 +00:00
|
|
|
.TP
|
2014-04-13 15:40:40 +00:00
|
|
|
\fB-n\fR
|
|
|
|
Set the console \fIlevel\fR.
|
2014-04-12 12:53:32 +00:00
|
|
|
.TP
|
2014-04-13 15:40:40 +00:00
|
|
|
\fB-r\fR
|
|
|
|
Print the raw message buffer.
|