diff --git a/xCAT-client/pods/man1/monshow.1.pod b/xCAT-client/pods/man1/monshow.1.pod index 7f498b085..7ea0c7562 100755 --- a/xCAT-client/pods/man1/monshow.1.pod +++ b/xCAT-client/pods/man1/monshow.1.pod @@ -10,7 +10,7 @@ I I -I +Ival [-w attrval] ... ][-o {p|e}]> @@ -38,7 +38,20 @@ B<-t> specifies a range of time for the data, The default is last 60 minutes. Fo B<-a> specifies a comma-separated list of attributes or metrics names. The default is all. -B<-o> specifies montype, it can be p, e or pe. p means performance, e means events, not used now. +B<-w> specify one or multiple selection string that can be used to select events. The operators ==, !=, =,!,>,<,>=,<= are available. Wildcards % and _ are supported in the pattern string. % allows you to match any string of any length(including zero length) and _ allows you to match on a single character. The valid attributes are eventtype, monitor, monnode, application, component, id, serverity, message, rawdata, comments. Valid severity are: Informational, Warning, Critical. + +Operator descriptions: + == Select event where the attribute value is exactly this value. + != Select event where the attribute value is not this specific value. + =~ Select event where the attribute value matches this pattern string. Not work with severity. + !~ Select event where the attribute value does not match this pattern string. Not work with severity. + > Select event where the severity is higher than this value. Only work with severity. + < Select event where the severity is lower than this value. Only work with severity. + >= Select event where the severity is higher than this value(include). Only work with severity. + <= Select event where the severity is lower than this value(include). Only work with severity. + Note: if the "val" or "operator" fields includes spaces or any other characters that will be parsed by shell, the "attrval" needs to be quoted. If the operator is "!~", the "attrval" needs to be quoted using single quote. + +B<-o> specifies montype, it can be p or e. p means performance, e means events. =head1 RETURN VALUE @@ -61,6 +74,10 @@ B<-o> specifies montype, it can be p, e or pe. p means performance, e means even monshow rmcmon servicenode1 -s +4. To show RMC event with severity Critical, enter: + + monshow rmcmon -w severity==Critical + =head1 FILES