mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add a flag to display the counter value in form of a delta value. This format shows the increase of that counter value in comparison to the previous readout. The first line is the base for the delta calculation and always shows 'Total'. The remaining lines show 'Delta' in the third column. # ./lshwc -d -i 3 -l 5 -x -s :p Date,Time,CPU,P32,P33 2024-11-27,15:45:55,Total,d7b,172 2024-11-27,15:45:58,Delta,2be403,2d58bb 2024-11-27,15:46:01,Delta,43e3b,22c41 2024-11-27,15:46:04,Delta,58e3a,35319 2024-11-27,15:46:07,Delta,5080e,2b81c # Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>