summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.1
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r--sys-utils/dmesg.112
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index 33fd8b08b..0cbc326fe 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -4,7 +4,13 @@
.SH NAME
dmesg \- print or control the kernel ring buffer
.SH SYNOPSIS
-.BI "dmesg [ \-c ] [ -r ] [ \-n " level " ] [ \-s " bufsize " ]"
+.B dmesg
+.RB [ \-c ]
+.RB [ \-r ]
+.RB [ \-n
+.IR level ]
+.RB [ \-s
+.IR bufsize ]
.SH DESCRIPTION
.B dmesg
is used to examine or control the kernel ring buffer.
@@ -25,7 +31,7 @@ Clear the ring buffer contents after printing.
.B \-r
Print the raw message buffer, i.e., don't strip the log level prefixes.
.TP
-.BI \-s bufsize
+.BI \-s " bufsize"
Use a buffer of size
.I bufsize
to query the kernel ring buffer. This is 16392 by default.
@@ -34,7 +40,7 @@ at first, 8192 since 1.3.54, 16384 since 2.1.113.)
If you have set the kernel buffer to be larger than the default
then this option can be used to view the entire buffer.
.TP
-.BI \-n level
+.BI \-n " level"
Set the
.I level
at which logging of messages is done to the console. For example,