aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-26 17:12:22 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-26 17:12:22 +0100
commit1ffeccd801dcb04fd56d89ded6866b45541da7bc (patch)
tree49e10c78f70c593b621b8c1f48b557d8ecd2098c
parent868acaf16b2f9e4eea0f207cde996bd3fd5a2b27 (diff)
downloadsos-1ffeccd801dcb04fd56d89ded6866b45541da7bc.tar.gz
Remove top output from kvm plug-in
Subsystem plug-ins have no business collecting general performance data. Remove the top output collection and topOutput command line option. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/kvm.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sos/plugins/kvm.py b/sos/plugins/kvm.py
index 608353ad..a0c44c1d 100644
--- a/sos/plugins/kvm.py
+++ b/sos/plugins/kvm.py
@@ -24,8 +24,6 @@ class Kvm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'kvm'
- option_list = [("topOutput", '5x iterations of top data', 'slow', False)]
-
def check_enabled(self):
return os.access("/sys/module/kvm", os.R_OK)
@@ -39,8 +37,6 @@ class Kvm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/sys/module/kvm_intel/srcversion")
self.add_copy_spec("/sys/module/kvm_amd/srcversion")
self.add_copy_spec("/sys/module/ksm/srcversion")
- if self.get_option('topOutput'):
- self.add_cmd_output("top -b -d 1 -n 5")
self.add_cmd_output("kvm_stat --once")
def postproc(self):