summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.1
diff options
context:
space:
mode:
authorKarel Zak2011-07-01 15:30:16 +0200
committerKarel Zak2011-07-01 15:30:16 +0200
commit2170174ee39d19f795aef4c549efb2c715a9113d (patch)
treef66565ddd946ecb2d234ab9c6b20e0c659bb5598 /sys-utils/dmesg.1
parentdmesg: cleanup options and man page (diff)
downloadkernel-qcow2-util-linux-2170174ee39d19f795aef4c549efb2c715a9113d.tar.gz
kernel-qcow2-util-linux-2170174ee39d19f795aef4c549efb2c715a9113d.tar.xz
kernel-qcow2-util-linux-2170174ee39d19f795aef4c549efb2c715a9113d.zip
dmesg: add --console-on and --console-off
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r--sys-utils/dmesg.111
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index 85f4dc04d..a593485c1 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -14,6 +14,10 @@ dmesg \- print or control the kernel ring buffer
.sp
.B dmesg \-\-console-level
.I level
+.sp
+.B dmesg \-\-console-on
+.sp
+.B dmesg \-\-console-off
.SH DESCRIPTION
.B dmesg
is used to examine or control the kernel ring buffer.
@@ -21,12 +25,17 @@ is used to examine or control the kernel ring buffer.
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.
+The --clear, --read-clear, --console-on, --console-off and --console-level
+options are mutually exclusive.
.IP "\fB\-C, \-\-clear\fP"
Clear the ring buffer.
.IP "\fB\-c, \-\-read-clear\fP"
Clear the ring buffer contents after printing.
+.IP "\fB\-d, \-\-console-off\fP"
+Disable printing messages to the console.
+.IP "\fB\-e, \-\-console-on\fP"
+Enable printing messages to the console.
.IP "\fB\-h, \-\-help\fP"
Print a help text and exit.
.IP "\fB\-n, \-\-console-level \fIlevel\fP