HEX
Server: LiteSpeed
System: Linux cp4.porkbun.com 5.14.0-611.20.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 14 06:35:04 EST 2026 x86_64
User: vxblllubpkafjsjw (1110)
PHP: 8.4.19
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/pci.cpython-39.opt-1.pyc
a

�>�hf�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s(eZdZdZdZdZdd�Zdd�ZdS)	�PcizPCI devicesZpci)Zhardware�systemcCs6|�d�sdS|�d�}d|vr*|�d�t|�dkS)z# Check whether PCI devices present �
/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