ubase/dmesg.1

29 lines
594 B
Groff
Raw Normal View History

.Dd February 2, 2015
.Dt DMESG 1
.Os ubase
.Sh NAME
.Nm dmesg
.Nd print or control the kernel ring buffer
.Sh SYNOPSIS
.Nm
.Op Fl Ccr
.Op Fl n Ar level
.Sh DESCRIPTION
.Nm
examines or controls the kernel ring buffer. By default it reads all the
messages from the kernel ring buffer and prints them to stdout.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl C
2014-04-13 11:40:40 -04:00
Clear the ring buffer.
.It Fl c
2014-04-13 11:40:40 -04:00
Clear the ring buffer after printing its contents.
.It Fl n Ar level
Set the console
.Ar level .
The log levels are defined in the file
.Pa include/linux/kern_levels.h .
.It Fl r
2014-04-13 11:40:40 -04:00
Print the raw message buffer.
.El