🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 23:38:52 | PHP 8.2.32
📂
/ (Root)
/
usr
/
lib
/
python3.6
/
site-packages
/
sos
/
report
/
plugins
/
__pycache__
📍 /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__
🔄 Refresh
✏️
Editing: filesys.cpython-36.opt-1.pyc
Read Only
3 ܓ�i; � @ sL d dl mZmZmZmZmZmZ G dd� deeee�ZG dd� dee�ZdS )� )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� CosPlugin� PluginOptc @ sT e Zd ZdZdZdZdZedddd�ed dd d�edddd�gZd 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 systemsZfilesys�storage�lsofFz%collect information on all open files)�defaultZdesc�dumpe2fszdump filesystem info�fragz'collect filesystem fragmentation statusc C s� | j ddddddddd d g � | jdddd � | jdddd � | jdddg� | jdddddddg� | jd�r�| jdddd� d}| jd �r�d!}d}d"}xL| j||�D ]<}| jd#|� d$|� �d%d&� | jd'�r�| jd(|� �d)d*� q�W d S )+Nz /proc/fs/z/proc/mountsz/proc/filesystemsz/proc/self/mountsz/proc/self/mountinfoz/proc/self/mountstatsz/proc/[0-9]*/mountinfoz /etc/mtabz /etc/fstabz/run/mount/utabzmount -lZmount)�root_symlink�tagszdf -al -x autofsZdfZdf__alzdf -aliT -x autofsZfindmntZlslocksz /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 -P�2 )r �priorityz-hr � z^(/dev/\S+).+ext[234]\s+z dumpe2fs � Z dumpe2fs_h)r r ze2freefrag �d )r )Z add_copy_spec�add_cmd_outputZadd_forbidden_pathZ get_optionZdo_regex_find_all)�selfZ dumpe2fs_optsZmountsZext_fs_regexZdev� r �/usr/lib/python3.6/filesys.py�setup% sP z Filesys.setupc C s$ | j ddd� d}| jd|d� d S )Nz /etc/fstabz(password=)[^,\s]*z \1********z](lsof: (avoiding (.*?)|WARNING: can't stat\(\) (.*?))|Output information may be incomplete.) r r )Zdo_file_subZdo_cmd_output_sub)r Zregexr r r �postproc\ s zFilesys.postprocN)r )�__name__� __module__�__qualname__�__doc__Z short_descZplugin_nameZprofilesr Zoption_listr r r r r r r s 7r c s e Zd Z� fdd�Z� ZS )� RedHatFilesysc s t � j� | jd� d S )Nzls -ldZ /tmp)�superr r )r )� __class__r r r m s zRedHatFilesys.setup)r r r r � __classcell__r r )r! r r k s r N) Zsos.report.pluginsr r r r r r r r r r r r �<module> s ^
💾 Save Changes
❌ Cancel