summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.1
diff options
context:
space:
mode:
authorKarel Zak2011-07-01 16:33:34 +0200
committerKarel Zak2011-07-01 16:33:34 +0200
commitf06ec64fda9b6b5075dd1f01c013f2aea139b9dc (patch)
treea73902c1d5391253712eb93656e72d69f66fa99f /sys-utils/dmesg.1
parentdmesg: add --console-on and --console-off (diff)
downloadkernel-qcow2-util-linux-f06ec64fda9b6b5075dd1f01c013f2aea139b9dc.tar.gz
kernel-qcow2-util-linux-f06ec64fda9b6b5075dd1f01c013f2aea139b9dc.tar.xz
kernel-qcow2-util-linux-f06ec64fda9b6b5075dd1f01c013f2aea139b9dc.zip
dmesg; support level names (e.g. --console-level=alert)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r--sys-utils/dmesg.112
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index a593485c1..8f61b8615 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -41,9 +41,17 @@ Print a help text and exit.
.IP "\fB\-n, \-\-console-level \fIlevel\fP
Set the
.I level
-at which logging of messages is done to the console. For example,
+at which logging of messages is done to the console. The
+.I level
+is a level number or abbreviation of the level name. For all supported levels see
+.B dmesg \-\-help
+output.
+.sp
+For example,
.B \-n 1
-prevents all messages, except panic messages, from appearing on the
+or
+.B \-n alert
+prevents all messages, except emergency (panic) messages, from appearing on the
console. All levels of messages are still written to
.IR /proc/kmsg ,
so