diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 16:52:07 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 16:52:07 +0100 |
commit | e517935bb7ddd230d885bc7c3f076fb82ad908c2 (patch) | |
tree | 84f8916497fb2c77be2f9fedc22e6dbcda66c856 | |
parent | dceb2d29a24ff59a6560fc5e7a5ee046a171980a (diff) | |
download | sos-e517935bb7ddd230d885bc7c3f076fb82ad908c2.tar.gz |
Remove pipe use from autofs plugin
This is redundant since the whole ps and mount output is
captured elsewhere. Also removes shell syntax from the plugin.
Related: Issue #253.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/autofs.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py index a4dbfea4..f9d73b2c 100644 --- a/sos/plugins/autofs.py +++ b/sos/plugins/autofs.py @@ -46,9 +46,6 @@ class Autofs(Plugin): def setup(self): self.add_copy_spec("/etc/auto*") self.add_cmd_output("/etc/init.d/autofs status") - self.add_cmd_output("ps auxwww | grep automount") - self.add_cmd_output("egrep -e 'automount|pid.*nfs' /proc/mounts") - self.add_cmd_output("mount | egrep -e 'automount|pid.*nfs'") if self.checkdebug(): self.add_copy_spec(self.getdaemondebug()) |