tokio.cli.compare_isdct module¶
- Compare two NERSC ISDCT dumps and report
- the devices that appeared or were removed
- the numeric counters whose values changed
- the string counters whose contents changed
-
tokio.cli.compare_isdct.
_convert_counters
(counters, conversion_factor, label)[source]¶ Convert a single flat dictionary of counters of bytes into another unit
-
tokio.cli.compare_isdct.
convert_byte_keys
(input_dict, conversion_factor=9.313225746154785e-10, label='gibs')[source]¶ Convert all keys ending in _bytes to some other unit. Accepts either the raw diff dict or the reduced dict from reduce_diff()
-
tokio.cli.compare_isdct.
discover_errors
(diff_dict)[source]¶ Look through all diffs and report serial numbers of devices that show changes in counters that may indicate a hardware issue.
-
tokio.cli.compare_isdct.
print_summary
(old_isdctfile, new_isdctfile, diff_dict)[source]¶ Print a human-readable summary of diff_dict
-
tokio.cli.compare_isdct.
reduce_diff
(diff_dict)[source]¶ Take the raw output of .diff() and aggregate the results of each device