mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add command line flags -i (read interval) and -l (loops) to show the counter values for the specified number of iterations. The CPUs to read the counter values from can be specified on the command line. If none are specified, all online CPUs are used. For example the command '# lspai -l 2 -i 10 -t nnpa' displays all PAI NNPA counter values two times with 10 second interval. Acked-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Thomas Richter <tmricht@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>