NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/dlm.cpython-36.pyc
3

~�g�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPlugin�	PluginOptc@s<eZdZdZdZdZdZedddd	�gZd
d�Z	dd
�Z
dS)�DlmzDLM (Distributed lock manager)�dlm�cluster�cman�	pacemaker�lockdumpFzcapture lock dumps for DLM)�defaultZdesccCs2|jdg�|jdddg�|jd�r.|j�dS)Nz/etc/sysconfig/dlmzdlm_tool log_plockz
dlm_tool dumpzdlm_tool ls -nr
)Z
add_copy_spec�add_cmd_outputZ
get_option�do_lockdump)�self�r�/usr/lib/python3.6/dlm.py�setups
z	Dlm.setupcCshd}|j|�}|ddkrdSd}tj|tj�}x2|j|d�D] }|jd|�d�d	|��d
�q@WdS)z Do dlm lock dumps zdlm_tool lsZstatusrNz^name\s+([^\s]+)$�outputzdlm_tool lockdebug -svw '�'Z
dlm_locks_)Zsuggest_filename)Zcollect_cmd_output�re�compile�	MULTILINE�findallr)rZdlm_tool�resultZlock_expZlock_reZ	lockspacerrrr
$s

zDlm.do_lockdumpN)r)rrr	)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrr
rrrrr
sr)rZsos.report.pluginsrrrrrrrr�<module>	s

NineSec Team - 2022