From c9de4140f6de72283701a6214e7cba128b730684 Mon Sep 17 00:00:00 2001 From: Nathaniel Clark Date: Wed, 27 Sep 2023 08:04:05 -0400 Subject: [PATCH] [filesys] skip filesystems picked up by other plugins Skip /proc/fs/FS for FS picked up by other plugins Signed-off-by: Nathaniel Clark --- sos/report/plugins/filesys.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/filesys.py b/sos/report/plugins/filesys.py index 6ca3a59bb6..f45eb38214 100644 --- a/sos/report/plugins/filesys.py +++ b/sos/report/plugins/filesys.py @@ -56,7 +56,21 @@ def setup(self): "lslocks" ]) - self.add_forbidden_path('/proc/fs/panfs') + self.add_forbidden_path([ + # cifs plugin + '/proc/fs/cifs', + # lustre plugin + '/proc/fs/ldiskfs', + '/proc/fs/lustre', + # nfs plugin + '/proc/fs/nfsd', + '/proc/fs/nfsfs', + # panfs (from Panasas company) provides statistics which can be + # very large (100s of GB) + '/proc/fs/panfs', + # xfs plugin + '/proc/fs/xfs' + ]) if self.get_option('lsof'): self.add_cmd_output("lsof -b +M -n -l -P", root_symlink="lsof",