mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
3eb09e8842
chpstat reports incorrect DPU utilization values for CMG 4 and 5 channel-paths. Calculated values are too high due to counters being interpreted as units of seconds while they are reported in units of timer ticks. Also, a zero partition channel-path utilization value (DPU PART) is incorrectly displayed as unavailable (-). Fix this by using the correct timer unit in DPU utilization calculations and making sure that zero DPU PART values are reported correctly. Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>