From f06ec64fda9b6b5075dd1f01c013f2aea139b9dc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 1 Jul 2011 16:33:34 +0200 Subject: dmesg; support level names (e.g. --console-level=alert) Signed-off-by: Karel Zak --- sys-utils/dmesg.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sys-utils/dmesg.1') 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 -- cgit v1.2.3-55-g7522