diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-22 10:18:44 -0400 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-22 10:18:44 -0400 |
commit | 9eb40fe293d3e87a90da8bd41f5fc9236aba2591 (patch) | |
tree | 08e496c60690f97f247fb0bde16dcf10e929645a | |
parent | d1f449a6decbd545b88dc97392f08eae52f687f4 (diff) | |
download | sos-9eb40fe293d3e87a90da8bd41f5fc9236aba2591.tar.gz |
[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 <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/general.py | 5 |
1 files changed, 0 insertions, 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""" |