HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/lustre.cpython-38.pyc
U

i��de�@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_paramscCs0|�dddddg�|�dddd	d
g�|�ddd
ddg�|�dddg�|�ddg�|�dddg�|�ddg�|�ddg�|�ddg�|�ddg�|�d d!d"d#d$g�|�d%d&g�|�d'd(g�|�d)d*d+g�|�d,d-g�|�d.d/g�|�d0�|�d1d2g�|�d3��r,|�d4�dS)5Nzlctl debug_kernelzlctl device_listzlctl list_nidszlctl route_listzlnetctl net show -vZbasic�versionZhealth_check�debugZtimeoutZlnetZpeersZroutesZroutersZniszldlm-lruzldlm.namespaces.*.lru_max_agezldlm.namespaces.*.lru_sizezldlm-statesz	*.*.stateZjobidZ
jobid_nameZ	jobid_varz	job-statsz
*.*.job_statsZserver_uuidsz*.*.*server_uuidZmgc_irstatezmgc.*.ir_statezlfs dfz	lfs df -iZ
osc_clientzosc.*.max_dirty_mbzosc.*.max_pages_per_rpczosc.*.checksumszosc.*.max_rpcs_in_flightZosdz3osd-*.*.{mntdev,files*,kbytes*,blocksize,brw_stats}Zquotaz)osd-*.*.quota_slave.{info,limit_*,acct_*}Zmgszmgs.MGS.ir_timeoutzmgs.MGS.live.*Zexportsz*.*.exports.*.*Zmntdevz
osd*.*.mntdevz*/mb_groupsz/sys/fs/ldiskfsz/proc/fs/ldiskfsZall_logsz/tmp/lustre-log.*)rrZadd_forbidden_pathZ
add_copy_specZ
get_option)r
rrr
�setupsV�
����
�zLustre.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrr
rs	rN)Zsos.report.pluginsrrrrrrr
�<module>	s