mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
In ziorep_utilization tool physical adapter report represents PCHID scope, rather than CHPID. PCHID column is added as a very first column of physical adapter report for non-CSV format report. Old version of physical adapter report with CHPID column only looks like: ... CHP|adapter in %-|--bus in %---|--cpu in %---| ID min max avg min max avg min max avg 2020-05-14 14:00:41 60 0 0 0.0 1 1 1.0 0 0 0.0 61 0 0 0.0 1 1 1.0 0 0 0.0 ... New version of physical adapter report with additional PCHID column looks like: ... PCH |CHP|adapter in %-|--bus in %---|--cpu in %---| ID ID min max avg min max avg min max avg 2020-05-14 14:00:41 01c0 60 0 0 0.0 1 1 1.0 0 0 0.0 01c1 61 0 0 0.0 1 1 1.0 0 0 0.0 ... For CSV-format report PCHID column is appended to the end of each record line. For older kernel releases, where PCHID sysfs entry is not available, replace PCHID column value with "n/a". Signed-off-by: Fedor Loshakov <loshakov@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Reviewed-by: Sakshi Singh <005c7w@linux.ibm.com> Reviewed-by: M Nikhil <nikh1092@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>