HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/cwd/lib/python3/dist-packages/sos/report/plugins/__pycache__/xfs.cpython-310.pyc
o

i��da�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdZdZdd�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/xfs)rcCsld}d}t|�||��D] }|D]}|�d�}|jd|ddd�|�d|d	�qq|�d
dg�dS)Nz/proc/mountsz^(/dev/.+).+xfs\s+� zxfs_info %s��xfs_info)�tagszxfs_admin -l -u %srrr)�zip�do_regex_find_all�split�add_cmd_output�
add_copy_spec)�self�mounts�ext_fs_regex�dev�e�parts�r�8/usr/lib/python3/dist-packages/sos/report/plugins/xfs.py�setups
��
�z	Xfs.setupN)
�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�files�kernel_modsrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s