HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/pci.cpython-39.pyc
a

^��c4�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s(eZdZdZdZdZdd�Zdd�ZdS)	�PcizPCI devicesZpci)Zhardware�systemcCs6|�d�sdS|�d�}d|vr*|�d�t|�dkS)N�
/proc/bus/pciFZdevicesr)Z
path_isdir�listdir�remove�len)�selfZcontent�r�:/usr/lib/python3.9/site-packages/sos/report/plugins/pci.py�check_for_bus_devicess


zPci.check_for_bus_devicescCs4|�gd��|��r0|jdddd�|�d�dS)N)z
/proc/ioportsz/proc/iomemrzlspci -nnvvZlspci)Zroot_symlink�tagsz	lspci -tv)Z
add_copy_specr
Zadd_cmd_output)r
rrr�setups�z	Pci.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr
rrrrrrs

rN)Zsos.report.pluginsrrrrrrr�<module>	s