diff options
author | bernie1995 <[email protected]> | 2018-08-30 22:46:55 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-08-30 13:46:55 -0700 |
commit | 0fe7c953b38a39278ea44c5c0782fa295d51fa54 (patch) | |
tree | dafeda016c7e23799dee2005f5ef43c5468f11fe /cmd | |
parent | 6c6949acae06dc9a31db2e375f13eb7f357651b6 (diff) |
ZTS: path cleanup
Removing hardcoded paths in many scripts.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: bernie1995 <[email protected]>
Issue #7507
Closes #7843
Diffstat (limited to 'cmd')
-rwxr-xr-x | cmd/arc_summary/arc_summary3.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/arc_summary/arc_summary3.py b/cmd/arc_summary/arc_summary3.py index 1cb71d47a..e70f2a35e 100755 --- a/cmd/arc_summary/arc_summary3.py +++ b/cmd/arc_summary/arc_summary3.py @@ -114,9 +114,11 @@ def draw_graph(kstats_dict): dnode_limit = f_bytes(arc_stats['arc_dnode_limit']) dnode_size = f_bytes(arc_stats['dnode_size']) - info_form = 'ARC: {0} ({1}) MFU: {2} MRU: {3} META: {4} ({5}) DNODE {6} ({7})' + info_form = ('ARC: {0} ({1}) MFU: {2} MRU: {3} META: {4} ({5}) ' + 'DNODE {6} ({7})') info_line = info_form.format(arc_size, arc_perc, mfu_size, mru_size, - meta_size, meta_limit, dnode_size, dnode_limit) + meta_size, meta_limit, dnode_size, + dnode_limit) info_spc = ' '*int((GRAPH_WIDTH-len(info_line))/2) info_line = GRAPH_INDENT+info_spc+info_line |