After a discussion and agreement with Nathan, committing this a bit
earlier than I was intending - still has lots of TODO, but it works :)
Changes committed to git://git.performancecopilot.org/markgw/pcp/pcp.git dev
commit 317340b9a17eed4c60f01c2d79a5ccb9f0d325fa
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Mon Jul 28 19:37:32 2014 +1000
Initial commit for pmiostat, as an essential storage performance analysis
tool.
pmiostat reports I/O stats for sd or dm devices, with the same fields as
sysstat "iostat -x" apart from the following: the svctm (service time)
field is omitted since this statistic is now obsolete, and the avgrq-sz
field (average request size) is reported in KB whereas sysstat reports
in units of sectors.
Still needs a man page, pmlogconf config updates, some inevitable python
code cleanup, support for regex/patterns to restrict the device names
reported, another round of cli usage refinements and QA. This tool is
expected to play a part in the new disk.{dev,dm}.* QA effort, using the
fake/injected /dev/mapper, /proc/diskstats and /sys/block/* interfaces).
So far this has only been manually QA'd against systat's iostat on a variety
of simple i/o workloads.
modified: src/GNUmakefile
new file: src/pmiostat/GNUmakefile
new file: src/pmiostat/pmiostat.py
|