Bug 229365

Summary: [PATCH] support raw stats for zpool iostat -H -p
Product: Base System Reporter: Miroslav Lachman <000.fbsd>
Component: binAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Some People Keywords: patch
Priority: ---    
Version: 11.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
zpool iostat -H none

Description Miroslav Lachman 2018-06-27 13:54:22 UTC
Created attachment 194675 [details]
zpool iostat -H

There is a patch adding new parameter -H for "zpool iostat" which allows us to get raw statistics for zpools. It is very useful for scripting / monitoring purposes. 
Can we have this nice addition committed to base?

https://gist.github.com/eborisch/c610c55cd974b9d4070c2811cc04cd8f

Discussed in mailing list few month ago
https://lists.freebsd.org/pipermail/freebsd-fs/2018-February/025859.html
https://forums.freebsd.org/threads/zfs-zabbix-monitoring.64760/

Note, I am not the author of the patch.
Comment 1 Miroslav Lachman 2018-06-29 06:54:44 UTC
It should be "zpool iostat -H -p"