diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-06-28 14:41:40 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-28 14:41:40 +0100 |
commit | be32615f809bf109928c8fb8849cfc794937bf14 (patch) | |
tree | c7c940b3166b90cacbf0b7f3b8b014cb253bec1c | |
parent | db7a86e64c7b6e35f3752974381b52be05dd712d (diff) | |
download | sos-be32615f809bf109928c8fb8849cfc794937bf14.tar.gz |
[devicemapper] add device-mapper statistics commands
Collect a 'list' and 'print --allregions' (do not generate a
report as this will re-set region counters in the kernel).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/devicemapper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/devicemapper.py b/sos/plugins/devicemapper.py index 6f7d8363..a97b7336 100644 --- a/sos/plugins/devicemapper.py +++ b/sos/plugins/devicemapper.py @@ -23,7 +23,9 @@ class DeviceMapper(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "dmsetup info -c", "dmsetup table", "dmsetup status", - "dmsetup ls --tree" + "dmsetup ls --tree", + "dmstats list", + "dmstats print --allregions" ]) # vim: set et ts=4 sw=4 : |