aboutsummaryrefslogtreecommitdiffstats
path: root/sos
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-29 18:15:20 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-29 18:15:20 +0000
commitd39c08d2091986ccd82921f1644887c8befe4e10 (patch)
tree39d034df4ccc9a9137c8eb844efaa6bc47f879c7 /sos
parent352344e48b96059675b417354f9b68ddcd453857 (diff)
downloadsos-d39c08d2091986ccd82921f1644887c8befe4e10.tar.gz
Add collection of lsblk to filesys module
Call lsblk to collect a list of block devices in a tree-like format.
Diffstat (limited to 'sos')
-rw-r--r--sos/plugins/filesys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index 0b7b8e4f..99d231a4 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -40,6 +40,7 @@ class filesys(Plugin, RedHatPlugin, UbuntuPlugin):
if self.getOption('lsof'):
self.collectExtOutput("/usr/sbin/lsof -b +M -n -l -P", root_symlink = "lsof")
self.collectExtOutput("/sbin/blkid -c /dev/null")
+ self.collectExtOutput("/usr/bin/lsblk")
part_titlep = re.compile("^major")
blankp = re.compile("^$")