pcp
[Top] [All Lists]

pcp updates: pmiostat device statistics aggregation

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: pmiostat device statistics aggregation
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed, 27 Apr 2016 21:51:35 +1000
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: "'Mark Goodwin'" <mgoodwin@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
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

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: pmiostat device statistics aggregation, Mark Goodwin <=