[Bug 229398] zpool list -H -p inconsistent output format for Frag
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 28 21:46:10 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229398
Bug ID: 229398
Summary: zpool list -H -p inconsistent output format for Frag
Product: Base System
Version: 10.4-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: 000.fbsd at quip.cz
zpool list -H -p or zpool get -H -p should print exact values without unit
sufixes. Size, Aloc and Free are OK, Capacity si also printed without percent
sign, but Fragmentation is always displayed with percent sign:
# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
tank0 912G 581G 331G - 24% 63% 1.00x ONLINE -
# zpool list -H -p
tank0 979252543488 623912925184 355339618304 - 24% 63
1.00x ONLINE -
# zpool list -H -p -o size
979252543488
# zpool list -H -p -o frag
24%
# zpool list -H -p -o cap
63
The same applies to zpool get
# zpool get -p cap
NAME PROPERTY VALUE SOURCE
tank0 capacity 63 -
# zpool get -p frag
NAME PROPERTY VALUE SOURCE
tank0 fragmentation 24% -
# zpool get -H -p -o value cap
63
# zpool get -H -p -o value frag
24%
There should not be percent sign.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list