This follows on from the pmiostat -R regex functionality. The new -G option
allows
statistics for devices matching the -R regex (or .* by default) to be
aggregated by
sum, avg, min or max. This is extremely useful for storage performance analysis
on
archives from systems with large disk farms - it reduces the need to write post
processing scripts.
Changes committed to git://git.pcp.io/pcp.git master
Mark Goodwin (1):
pmiostat: add option to aggregate statistics for devices matching -R regex
qa/1099 | 11 ++++
qa/1099.out | 56 ++++++++++++++++++++
src/pcp/iostat/pcp-iostat.1 | 80 ++++++++++++++++++++++++++++-
src/pcp/iostat/pcp-iostat.py | 116 +++++++++++++++++++++++++++++++++++++------
4 files changed, 246 insertions(+), 17 deletions(-)
Details ...
commit d0b1ac15ff5847e723f28843d9c3cc8c7ba715b6
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed Apr 27 21:29:24 2016 +1000
pmiostat: add option to aggregate statistics for devices matching -R regex
Adds pmiostat -G option to aggregate statistics for devices matching the
-R regex. Aggregation methods are sum, avg, min or max. See man page
for more details. Later work will add host:bus:target:lun aggregation
options using hinv.map.scsi.
Also updates qa/1099 to test the new functionality.
modified: qa/1099
modified: qa/1099.out
modified: src/pcp/iostat/pcp-iostat.1
modified: src/pcp/iostat/pcp-iostat.py
|