diff options
-rw-r--r-- | sos/plugins/hardware.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py index d63fe15c..f09fc769 100644 --- a/sos/plugins/hardware.py +++ b/sos/plugins/hardware.py @@ -45,6 +45,12 @@ class hardware(Plugin): self.collectExtOutput("/usr/sbin/dmidecode", root_symlink = "dmidecode") + if os.path.exists("/usr/bin/cpufreq-info"): + self.collectExtOutput("/usr/bin/cpufreq-info") + if os.path.exists("/usr/bin/cpupower"): + self.collectExtOutput("/usr/bin/cpupower info") + self.collectExtOutput("/usr/bin/cpupower frequency-info") + if self.policy().getArch().endswith("386"): self.collectExtOutput("/usr/sbin/x86info -a") |