Skip to content

Commit

Permalink
[filesys] skip filesystems picked up by other plugins
Browse files Browse the repository at this point in the history
Skip /proc/fs/FS for FS picked up by other plugins

Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
  • Loading branch information
utopiabound authored and TurboTurtle committed Oct 4, 2023
1 parent 36d9a35 commit c9de414
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion sos/report/plugins/filesys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c9de414

Please sign in to comment.