mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cpumf/lspai: Add command line flag to specify individual counters
Add command line option --counters XXX,YYY to specify a comma separated list of counter names to be displayed. The counter names have to match exactly beside case sensitivity. All counters not listed in the list specified by the --counters option are not shown. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Co-developed-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
2c5c5ef4b4
commit
63f9a672d0
@@ -30,7 +30,9 @@
|
||||
.IR SECONDS ]
|
||||
.RB [ \-l
|
||||
.IR COUNT ]
|
||||
.RB [ \-s ][ \-x ][ \-X ]
|
||||
.RB [ \-s ][ \-x ][ \-x ]
|
||||
.RB [ \-c
|
||||
.IR LIST ]
|
||||
.RI [ CPULIST ]
|
||||
.br
|
||||
\*c
|
||||
@@ -90,6 +92,13 @@ Each counter value shows the increment to the previous output line.
|
||||
Without this flag the total value of each counter is displayed.
|
||||
.
|
||||
.TP
|
||||
.BR \-c ", " \-\-counters \fI\ LIST\fP
|
||||
Specify a comma separated list of counter names to
|
||||
be printed.
|
||||
If a counter name does not match any valid counter
|
||||
name, it is omitted.
|
||||
.
|
||||
.TP
|
||||
.BR \-s ", " \-\-short
|
||||
Displays counter names as short names in the heading.
|
||||
A short name consists of
|
||||
|
||||
Reference in New Issue
Block a user