diff options
author | Karel Zak | 2011-07-01 14:56:22 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-01 14:56:22 +0200 |
commit | 0506537a1044f68981e7f153c019a6d7b8748b08 (patch) | |
tree | 53d59e67f45ac9f3a22eced4de869a15127e8cc5 /sys-utils/dmesg.1 | |
parent | dmesg: add --clear (SYSLOG_ACTION_CLEAR) (diff) | |
download | kernel-qcow2-util-linux-0506537a1044f68981e7f153c019a6d7b8748b08.tar.gz kernel-qcow2-util-linux-0506537a1044f68981e7f153c019a6d7b8748b08.tar.xz kernel-qcow2-util-linux-0506537a1044f68981e7f153c019a6d7b8748b08.zip |
dmesg: cleanup options and man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r-- | sys-utils/dmesg.1 | 22 |
1 files changed, 13 insertions, 9 deletions
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" |