Added parameter to collect data from iostat output, adjusted regex in template and added multiplier for data size.
There is duplication in iostat call, once pool is specified by call and then AWK does match it again. Not much of use case for double check but it will properly handle any broken output from iostat.
Added parameter to collect data from iostat output, adjusted regex in template and added multiplier for data size. There is duplication in iostat call, once pool is specified by call and then AWK does match it again. Not much of use case for double check but it will properly handle any broken output from iostat.