HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/pci.cpython-39.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