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__/vhostmd.cpython-39.pyc
a

�>�h��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s$eZdZdZdZdZdZdd�ZdS)�Vhostmdz)vhostmd virtualization metrics collectionZvhostmd)ZsapZvirt�system)�	virt-whatcCs�|�d�d��}|sdSd|vs2d|vs2d|vr�|�d�rL|jddd�njd	}|�|�s^dS|�|�D]L}d
|vrh|��d}|�d|�d
��}d|dvrh|jd|�d�dd�qhdS)Nr�outputZvmwareZkvmZxenzvm-dump-metricsZvirt_metrics)Zsuggest_filenamez
/sys/blockZ256Krzdd if=/dev/z bs=25 count=1Zmetricz bs=256k count=1)Zcollect_cmd_output�
splitlinesZis_installedZadd_cmd_outputZ
path_isdir�listdir�splitZexec_cmd)�selfZvwhatZsysblockZdisk�dev�ret�r�>/usr/lib/python3.9/site-packages/sos/report/plugins/vhostmd.py�setups(
�

�z
Vhostmd.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>	s