aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-06-28 14:41:40 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-28 14:41:40 +0100
commitbe32615f809bf109928c8fb8849cfc794937bf14 (patch)
treec7c940b3166b90cacbf0b7f3b8b014cb253bec1c
parentdb7a86e64c7b6e35f3752974381b52be05dd712d (diff)
downloadsos-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.py4
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 :