diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 18:15:20 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 18:15:20 +0000 |
commit | d39c08d2091986ccd82921f1644887c8befe4e10 (patch) | |
tree | 39d034df4ccc9a9137c8eb844efaa6bc47f879c7 /sos | |
parent | 352344e48b96059675b417354f9b68ddcd453857 (diff) | |
download | sos-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.py | 1 |
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("^$") |