aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-04 22:05:10 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-04 22:05:10 +0000
commitf790135dcb2583df0989c1328248959c66144beb (patch)
tree4bd4f2b347cff658125d038f429fb29eab112acd
parent48ef07d26340c2d7a385b8bf232386c518c62ac2 (diff)
downloadsos-f790135dcb2583df0989c1328248959c66144beb.tar.gz
Collect mcelog files in the hardware module
-rw-r--r--sos/plugins/hardware.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py
index d98f4cb6..15ab6141 100644
--- a/sos/plugins/hardware.py
+++ b/sos/plugins/hardware.py
@@ -41,7 +41,8 @@ class hardware(Plugin):
"/proc/dasd",
"/proc/s390dbf/tape",
"/sys/bus/scsi",
- "/sys/state"])
+ "/sys/state",
+ "/var/log/mcelog"])
self.collectExtOutput("""/bin/echo -e "lspci:\n" ; /sbin/lspci ; /bin/echo -e "\nlspci -nvv:\n" ; /sbin/lspci -nvv ; /bin/echo -e "\nlspci -tv:\n" ; /sbin/lspci -tv""", suggest_filename = "lspci", root_symlink = "lspci")
self.collectExtOutput("/usr/sbin/dmidecode", root_symlink = "dmidecode")