From 1db9114541a38c4fe4cbc8041f2d4bf039bea5d2 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Wed, 6 Sep 2017 15:04:04 +0200 Subject: [filesys] call df commands with autofs excluded To prevent timeouts of "df" commands when using a huge amount of direct mappings on autofs. Resolves: #1093 Signed-off-by: Pavel Moravec --- sos/plugins/filesys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py index 7113340d..c48293ab 100644 --- a/sos/plugins/filesys.py +++ b/sos/plugins/filesys.py @@ -36,9 +36,9 @@ class Filesys(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/proc/mounts" ]) self.add_cmd_output("mount -l", root_symlink="mount") - self.add_cmd_output("df -al", root_symlink="df") + self.add_cmd_output("df -al -x autofs", root_symlink="df") self.add_cmd_output([ - "df -ali", + "df -ali -x autofs", "findmnt" ]) -- cgit