aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-02-10 19:47:14 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-02-10 19:47:14 +0000
commit58a6d777d7b5fc4ef72e185ccd916110a73f48d2 (patch)
tree8cf203e6cfefdb1184379aa3ac4345f16a240b44
parent14686f55bd5bc7169eb06a871ada7bc3461b306b (diff)
downloadsos-58a6d777d7b5fc4ef72e185ccd916110a73f48d2.tar.gz
[block] collect /proc/diskstats
Related: #490. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/block.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/block.py b/sos/plugins/block.py
index 8c73ef64..7984f0d4 100644
--- a/sos/plugins/block.py
+++ b/sos/plugins/block.py
@@ -24,8 +24,6 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
profiles = ('storage', 'hardware')
def setup(self):
- self.add_copy_spec("/proc/partitions")
-
self.add_cmd_output([
"lsblk",
"blkid -c /dev/null",
@@ -36,7 +34,9 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
# legacy location for non-/run distributions
self.add_copy_spec([
"/etc/blkid.tab",
- "/run/blkid/blkid.tab"
+ "/run/blkid/blkid.tab",
+ "/proc/partitions",
+ "/proc/diskstats"
])
if os.path.isdir("/sys/block"):