Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/xfs.cpython-36.pyc

3

�fe�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZd
ZdZdZdd�Z	d	S)
�Xfsz�This plugin collects information on mounted XFS filessystems on the
    local system.

    Users should expect `xfs_info` and `xfs_admin` collections by this plugin
    for each XFS filesystem that is locally mounted.
    zXFS filesystem�xfs�storage�/sys/fs/xfs�/proc/fs/xfscCstd}d}xXt|j||��D]D}x>|D]6}|jd�}|jd|ddd�|jd|d	�q$WqW|jd
dg�dS)Nz/proc/mountsz^(/dev/.+).+xfs\s+� zxfs_info %s�Zxfs_info)Ztagszxfs_admin -l -u %srz/proc/fs/xfsz/sys/fs/xfs)�zipZdo_regex_find_all�splitZadd_cmd_outputZ
add_copy_spec)�selfZmountsZext_fs_regexZdevZext�parts�r�/usr/lib/python3.6/xfs.py�setups

z	Xfs.setupN)r)rr)r)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofiles�filesZkernel_modsrrrrrrsrN)Zsos.report.pluginsrrrrrrr�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists