mirror_zfs/cmd/arc_summary
Ryan Moeller 695ac5850b arc_summary3: Handle overflowing value width
Some tunables shown by arc_summary3 have string values that may exceed
the normal line length, leaving a negative offset between the name and
value fields.  The negative space is of course not valid and Python
rightly barfs up an exception traceback.

Handle an overflowing value field width by ignoring the line length
and separating the name from the value by a single space instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11270
2020-12-11 10:29:53 -08:00
..
.gitignore Centralize variable substitution 2020-07-14 17:33:44 -07:00
arc_summary2 FreeBSD: Update usage of py-sysctl 2020-12-10 15:28:31 -08:00
arc_summary3 arc_summary3: Handle overflowing value width 2020-12-11 10:29:53 -08:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00