mirror_zfs/cmd/arc_summary
Ryan Moeller 058b6fd069 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-23 14:34:59 -08:00
..
.gitignore Centralize variable substitution 2020-07-14 17:33:44 -07:00
arc_summary2 FreeBSD: Update usage of py-sysctl 2020-12-23 14:34:59 -08:00
arc_summary3 arc_summary3: Handle overflowing value width 2020-12-23 14:34:59 -08:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00