Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/fibrechannel.cpython-310.pyc
o

i��d�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s<eZdZdZdZdZdZedddd�gZd	d
gZ	dd�Z
d
S)�Fibrechannelz+Collect information on fibrechannel devices�fibrechannel)�hardware�storage�system)z/sys/class/fc_hostz/sys/class/fc_remote_ports�debugTzcollect debugging logs)�default�descz/sys/kernel/debug/qla2*/z/sys/kernel/debug/fnic/cCs�|jddd�|�d�r|�|j�|�ddg�|�d�}|ddkrE|d	��D]}d
|vrD|��d}|�d|d
|d|g�q*dSdS)Nzudevadm info -a %(dev)s�fibre)�devicesr
zhbacmd listhbaszhbacmd ServerAttributes�statusr�outputzPort WWN�zhbacmd HbaAttributes %szhbacmd PortAttributes %szhbacmd GetXcvrData %s)�add_device_cmd�
get_option�
add_copy_spec�debug_paths�add_cmd_output�collect_cmd_output�
splitlines�split)�self�listhbas�line�dev�r�A/usr/lib/python3/dist-packages/sos/report/plugins/fibrechannel.py�setups(
�
���zFibrechannel.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�filesr�option_listrr rrrrrs��rN)�sos.report.pluginsrrrrrrrr�<module>s


Spamworldpro Mini