aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Bradley <sbradley@redhat.com>2016-04-11 12:54:14 -0400
committerBryn M. Reeves <bmr@redhat.com>2016-06-03 15:15:08 +0100
commitfde5809bc2a2c3993060d70ce17e3007f6308df9 (patch)
treef74687f9c8dd277a8ea6e592acb14e4ea1fb126a
parent25ab9f3a25337343d00f01abe6c187c062e89c5d (diff)
downloadsos-fde5809bc2a2c3993060d70ce17e3007f6308df9.tar.gz
[processor] Capture turbostat output
The turbostat command is a topological report. This report will show what cstate and pstate processors are in, what the processor frequency is during that timeand how busy each core is. The cstate %'s tell us when we are saving power at the expense of performance which is useful for knowing if the host is optimally configured. Fixes: #802 Signed-off-by: Shane Bradley <sbradley@redhat.com>
-rw-r--r--sos/plugins/processor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/processor.py b/sos/plugins/processor.py
index 37a1b274..c934e43a 100644
--- a/sos/plugins/processor.py
+++ b/sos/plugins/processor.py
@@ -36,9 +36,10 @@ class Processor(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"cpupower info",
"cpupower idle-info",
"cpupower frequency-info",
- "cpufreq-info"
+ "cpufreq-info",
"cpuid",
- "cpuid -r"
+ "cpuid -r",
+ "turbostat --debug sleep 10"
])
if '86' in self.policy().get_arch():