NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

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

~�gf�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s(eZdZdZdZd
Zdd�Zdd�Zd	S)�PcizPCI devicesZpci�hardware�systemcCs6|jd�sdS|jd�}d|kr*|jd�t|�dkS)z# Check whether PCI devices present z
/proc/bus/pciFZdevicesr)Z
path_isdir�listdir�remove�len)�selfZcontent�r�/usr/lib/python3.6/pci.py�check_for_bus_devicess


zPci.check_for_bus_devicescCs6|jdddg�|j�r2|jdddd�|jd�dS)Nz
/proc/ioportsz/proc/iomemz
/proc/bus/pcizlspci -nnvvZlspci)Zroot_symlinkZtagsz	lspci -tv)Z
add_copy_specr
Zadd_cmd_output)r
rrr�setupsz	Pci.setupN)rr)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr
rrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>	s

NineSec Team - 2022