From 1ffeccd801dcb04fd56d89ded6866b45541da7bc Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 26 Apr 2013 17:12:22 +0100 Subject: 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 --- sos/plugins/kvm.py | 4 ---- 1 file changed, 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): -- cgit