1
0
mirror of git://git.suckless.org/ubase synced 2024-12-21 14:20:41 +00:00
ubase/dmesg.1

23 lines
513 B
Groff
Raw Normal View History

2014-04-12 12:53:32 +00:00
.TH DMESG 1 ubase-VERSION
.SH NAME
\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.