Your IP : 216.73.217.13


Current Path : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/lustre.cpython-38.pyc

U

���b��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�LustrezLustre filesystem�lustre)ZstorageZnetworkZcluster)rz
lustre-clientcCs"|jdd�|�d|dd�dS)zZUse lctl get_param to collect a selection of parameters into a
            file.

        zlctl get_param %s� z	params-%sF)Zsuggest_filename�stderrN)�add_cmd_output�join)�self�nameZ
param_list�r�;/usr/lib/python3/dist-packages/sos/report/plugins/lustre.py�
get_paramss�zLustre.get_paramscCs�|�dddddg�|�dddd	g�|�d
ddd
dg�|�ddg�|�dddg�|�ddg�|�ddg�|�ddg�|�d�r�|�d�dS)Nzlctl debug_kernelzlctl device_listzlctl list_nidszlctl route_listzlnetctl net show -vZbasic�versionZhealth_check�debugZlnetZpeersZroutesZroutersZniszldlm-statesz	*.*.stateZjobidZ
jobid_nameZ	jobid_varzlfs dfz	lfs df -iZosdz3osd-*.*.{mntdev,files*,kbytes*,blocksize,brw_stats}Zquotaz)osd-*.*.quota_slave.{info,limit_*,acct_*}Zall_logsz/tmp/lustre-log.*)rrZ
get_optionZ
add_copy_spec)r
rrr
�setups&��
zLustre.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrr
rs	rN)Zsos.report.pluginsrrrrrrr
�<module>	s