Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/gfs2.cpython-36.pyc
3

\��hq�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZdZd
Zedddd�gZd	d
�Z	dS)�Gfs2zGFS2 (Global Filesystem 2)Zgfs2�cluster�
gfs2-utilsZlockdumpFz+collect lock dumps for all GFS2 filesystems)�defaultZdesccCsp|jddg�|jddg�|jd�r0|jd�d}d}d	}x.|j||�D]}|jd
|�d|��dd
�qJWdS)Nz/sys/fs/gfs2/*/withdrawz/sys/fs/gfs2/*/statuszgfs_control ls -nzgfs_control dumpZgfs2lockdumpz/sys/kernel/debug/gfs2/*z-lz/proc/mountsz^(/dev/\S+).+gfs2\s+z	tunegfs2 � Z
tunegfs2_l)Ztags)Z
add_copy_specZadd_cmd_outputZ
get_optionZdo_regex_find_all)�selfZ
tunegfs2_optsZmountsZ
gfs2_fs_regexZdev�r�/usr/lib/python3.6/gfs2.py�setups

z
Gfs2.setupN)r)r)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listr
rrrrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>	s