403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/lustre.cpython-39.opt-1.pyc
a

ܓ�i��@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�RedHatPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�LustrezLustre filesystem�lustre)Zstorage�networkZcluster)rz
lustre-clientcCs&|jdd�|���d|��dd�dS)zZUse lctl get_param to collect a selection of parameters into a
            file.

        zlctl get_param � zparams-F)Zsuggest_filename�stderrN)�add_cmd_output�join)�self�nameZ
param_list�r
�=/usr/lib/python3.9/site-packages/sos/report/plugins/lustre.py�
get_paramss�zLustre.get_paramscs�|�gd��|�d�d}d��fdd�|��D�}|�d|�|�dgd	��|�d
�|�ddg�|�d
gd��|�dgd��|�ddg�|�dddg�|�d�|�ddg�|�d�r�|�d�|�ddg�|�ddg�dS)N)zlctl debug_kernelzlctl device_listzlctl list_nidszlctl route_listzlnetctl net show -v 4zlctl list_param -R *�outputzn.*@.*|.*dump_page_cache|peers|.*quota.*|osd-.*|.*osc.*|mgs.*|.*mgc_irstate|ldlm.*state|.*job_stats|.*exports.*csg|]}t��|�s|�qSr
)�re�match)�.0�item�Zexcluder
r�
<listcomp>+s�z Lustre.setup.<locals>.<listcomp>�allZbasic)�versionZhealth_check�debugz/etc/lnet.confzlfs dfz	lfs df -iZ
osc_client)zosc.*.max_dirty_mbzosc.*.max_pages_per_rpczosc.*.checksumszosc.*.max_rpcs_in_flightZosd)z9osd-*.*.{blocksize,brw_stats,enable_projid_xattr,extent*}z8osd-*.*.{fallocate_*,full_scrub_*,files*,kbytes*,mntdev}z7osd-*.*.{nonrotational,oi_scrub,pdo,stats,read*,write*}Zquotaz)osd-*.*.quota_slave.{info,limit_*,acct_*}Zmgszmgs.MGS.ir_timeoutzmgs.MGS.live.*z*/mb_groupsz/sys/fs/ldiskfsz/proc/fs/ldiskfsZall_logsz/tmp/lustre-log.*z	job-statsz
*.*.job_statsZpeers)r	Zexec_cmd�
splitlinesrZ
add_copy_specZadd_forbidden_pathZ
get_option)rr�paramsr
rr�setups6	�
�
�

zLustre.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrr
r
r
rr
s	r)rZsos.report.pluginsrrrr
r
r
r�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit