o
G%@i; @ sL d dl mZmZmZmZmZmZ G dd deeeeZG dd deeZdS ) )PluginRedHatPluginDebianPluginUbuntuPlugin CosPlugin PluginOptc @ sT e Zd ZdZdZdZdZedddded dd
deddddgZd
d Z dd Z
dS )Filesysa Collects general information about the local filesystem(s) and mount
points as well as optional information about EXT filesystems. Note that
information specific filesystems such as XFS or ZFS is not collected by
this plugin, as there are specific plugins for those filesystem types.
This plugin will collect /etc/fstab as well as mount information within
/proc/, and is responsible for the 'mount' and 'df' symlinks that appear
in an sos archive's root.
zLocal file systemsfilesys)storagelsofFz%collect information on all open files)defaultdescdumpe2fszdump filesystem infofragz'collect filesystem fragmentation statusc C s | g d | jdddd | jdddd | g d | g d | d
r2| jdd
dd
d}| dr;d}d}d}| ||D ]}| jd| d| dd | drc| jd| dd qEd S )N)
z /proc/fs//proc/mountsz/proc/filesystemsz/proc/self/mountsz/proc/self/mountinfoz/proc/self/mountstatsz/proc/[0-9]*/mountinfoz /etc/mtab
/etc/fstabz/run/mount/utabzmount -lmount)root_symlinktagszdf -al -x autofsdfdf__al)zdf -aliT -x autofsfindmntlslocks)z
/proc/fs/cifsz/proc/fs/ldiskfsz/proc/fs/lustrez
/proc/fs/nfsdz/proc/fs/nfsfsz/proc/fs/panfsz/proc/fs/xfsr zlsof -b +M -n -l -P2 )r priorityz-hr r z^(/dev/\S+).+ext[234]\s+z dumpe2fs
dumpe2fs_h)r r ze2freefrag d )r )
add_copy_specadd_cmd_outputadd_forbidden_path
get_optiondo_regex_find_all)self
dumpe2fs_optsmountsext_fs_regexdev r)