bmr-cymru / dmioscope

Device-mapper IO visualisation tools
GNU General Public License v2.0
5 stars 1 forks source link

dmioscope: add --counter command line option #5

Closed bmr-cymru closed 7 years ago

bmr-cymru commented 7 years ago

The IOHistogram class can bind to an arbitrary dmstats counter field but this is not exposed in the command line arguments. Add a new --counter argument that accepts a named counter:

# dmioscope.py --counter=READS -b4 3 0 vg00/lvol0