HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/lustre.cpython-310.pyc
o

���b��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�LustrezLustre filesystem�lustre)�storage�network�cluster)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)�suggest_filename�stderrN)�add_cmd_output�join)�self�name�
param_list�r�;/usr/lib/python3/dist-packages/sos/report/plugins/lustre.py�
get_paramss
�zLustre.get_paramscCs�|�gd��|�dgd��|�dgd��|�ddg�|�dd	d
g�|�ddg�|�d
dg�|�ddg�|�d�rG|�d�dSdS)N)zlctl debug_kernelzlctl device_listzlctl list_nidszlctl route_listzlnetctl net show -v�basic)�version�health_check�debug�lnet)�peers�routes�routers�niszldlm-statesz	*.*.state�jobid�
jobid_name�	jobid_varzlfs dfz	lfs df -i�osdz3osd-*.*.{mntdev,files*,kbytes*,blocksize,brw_stats}�quotaz)osd-*.*.quota_slave.{info,limit_*,acct_*}�all_logsz/tmp/lustre-log.*)rr�
get_option�
add_copy_spec)rrrr�setups�
�zLustre.setupN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrr%rrrrrs	rN)�sos.report.pluginsrrrrrrr�<module>s