From e517935bb7ddd230d885bc7c3f076fb82ad908c2 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Sun, 6 Apr 2014 16:52:07 +0100 Subject: 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 --- sos/plugins/autofs.py | 3 --- 1 file changed, 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()) -- cgit