From 9eb40fe293d3e87a90da8bd41f5fc9236aba2591 Mon Sep 17 00:00:00 2001 From: Adam Stokes Date: Fri, 22 Aug 2014 10:18:44 -0400 Subject: [general] remove tree and ls captures Ubuntu specifically was seeing general plugin times of ~19 seconds which most of that time spent running `tree /var/lib`. Was decided to remove this capture output and to be re-evaluated of its importance at a later date. Fixes #374 Signed-off-by: Adam Stokes --- sos/plugins/general.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sos/plugins/general.py b/sos/plugins/general.py index 6082f817..7de9aa7b 100644 --- a/sos/plugins/general.py +++ b/sos/plugins/general.py @@ -36,11 +36,6 @@ class General(Plugin): self.add_cmd_output("date", root_symlink="date") self.add_cmd_output("uptime", root_symlink="uptime") - self.add_cmd_outputs([ - "tree /var/lib", - "ls -lR /var/lib" - ]) - class RedHatGeneral(General, RedHatPlugin): """Basic system information for RedHat based distributions""" -- cgit