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__/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