diff options
author | Karel Zak | 2011-07-13 15:50:47 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-13 15:50:47 +0200 |
commit | 636a6207d954db32fbf4bfaa70ca4741d13b465c (patch) | |
tree | 36d0cf8b5e394602a580a3ca8260c377830ac466 /sys-utils/dmesg.1 | |
parent | dmesg: consolidate level parsiig code (diff) | |
download | kernel-qcow2-util-linux-636a6207d954db32fbf4bfaa70ca4741d13b465c.tar.gz kernel-qcow2-util-linux-636a6207d954db32fbf4bfaa70ca4741d13b465c.tar.xz kernel-qcow2-util-linux-636a6207d954db32fbf4bfaa70ca4741d13b465c.zip |
dmesg: add --level=<list>
For example
dmesg --level=err,warn
will print only error and warning messages.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r-- | sys-utils/dmesg.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1 index 8f61b8615..9518ecb64 100644 --- a/sys-utils/dmesg.1 +++ b/sys-utils/dmesg.1 @@ -38,6 +38,12 @@ Disable printing messages to the console. Enable printing messages to the console. .IP "\fB\-h, \-\-help\fP" Print a help text and exit. +.IP "\fB\-l, \-\-level \fIlist\fP" +Restrict output to defined (comma separated) list of levels. For exmaple +.sp + dmesg --level=err,warn +.sp +will print error and warning messages only. .IP "\fB\-n, \-\-console-level \fIlevel\fP Set the .I level |