From 0506537a1044f68981e7f153c019a6d7b8748b08 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 1 Jul 2011 14:56:22 +0200 Subject: dmesg: cleanup options and man page Signed-off-by: Karel Zak --- sys-utils/dmesg.1 | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'sys-utils/dmesg.1') diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1 index 64234d0c0..85f4dc04d 100644 --- a/sys-utils/dmesg.1 +++ b/sys-utils/dmesg.1 @@ -1,24 +1,28 @@ .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" May be distributed under the GNU General Public License -.TH DMESG 1 +.TH DMESG 1 "Jun 2011" .SH NAME dmesg \- print or control the kernel ring buffer .SH SYNOPSIS .B dmesg .RB [ options ] +.sp +.B dmesg \-\-clear +.sp +.B dmesg \-\-read-clear +.RB [ options ] +.sp +.B dmesg \-\-console-level +.I level .SH DESCRIPTION .B dmesg is used to examine or control the kernel ring buffer. -The program helps users to print out their bootup messages. Instead of -copying the messages by hand, the user need only: -.RS -dmesg > boot.messages -.RE -and mail the -.I boot.messages -file to whoever can debug their problem. +The default action is to read all messages from kernel ring buffer. + .SH OPTIONS +The --clear, --read-clear and --console-level options are mutually exclusive. + .IP "\fB\-C, \-\-clear\fP" Clear the ring buffer. .IP "\fB\-c, \-\-read-clear\fP" -- cgit v1.2.3-55-g7522