Current File : //lib/python2.7/site-packages/sos/plugins/filesys.pyc
�
u��ec@s[ddlmZmZmZmZdeeefd��YZdeefd��YZdS(i����(tPlugintRedHatPlugintDebianPlugintUbuntuPlugintFilesyscBs_eZdZdZdZdddefdddefdd	defgZd
�Zd�ZRS(
sLocal file systems
    tfilesyststoragetlsofs%gathers information on all open filestslowtdumpe2fssdump filesystem informationtfragsfilesystem fragmentation statusc
Cs|jddddddddd	g	�|jd
dd�|jd
dd�|jdddg�|jd�|jd�r�|jddd�nd}|jd�r�d}nd}d}xT|j||�D]@}|jd||f�|jd�r�|jd|�q�q�WdS(Ns	/proc/fs/s/proc/mountss/proc/filesystemss/proc/self/mountss/proc/self/mountinfos/proc/self/mountstatss/proc/[0-9]*/mountinfos	/etc/mtabs
/etc/fstabsmount -ltroot_symlinktmountsdf -al -x autofstdfsdf -ali -x autofstfindmnttlslockss/proc/fs/panfsRslsof -b +M -n -l -Ps-hR	ts^(/dev/\S+).+ext[234]\s+sdumpe2fs %s %sR
s
e2freefrag %s(t
add_copy_spectadd_cmd_outputtadd_forbidden_patht
get_optiontdo_regex_find_all(tselft
dumpe2fs_optstmountstext_fs_regextdev((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pytsetups8


	cCs0|jddd�d}|jd|d�dS(Ns
/etc/fstabs(password=)[^,\s]*s
\1********s](lsof: (avoiding (.*?)|WARNING: can't stat\(\) (.*?))|Output information may be incomplete.)
RR(tdo_file_subtdo_cmd_output_sub(Rtregex((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pytpostproc=s(R(	t__name__t
__module__t__doc__tplugin_nametprofilestFalsetoption_listRR(((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pyRs	$t
RedHatFilesyscBseZd�ZRS(cCs$tt|�j�|jd�dS(Nsls -ltradZ /tmp(tsuperR'RR(R((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pyRNs(R R!R(((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pyR'LsN(tsos.pluginsRRRRRR'(((s7/usr/lib/python2.7/site-packages/sos/plugins/filesys.pyt<module>	s"@