HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/vhostmd.cpython-36.pyc
3

3��d��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s$eZdZdZdZd	Zd
Zdd�ZdS)�vhostmdz)vhostmd virtualization metrics collection�sap�virt�system�	virt-whatcCs�|jd�dj�}|sdSd|ks2d|ks2d|kr�|jd�rL|jddd�nfd	}|j|�s^dSxR|j|�D]D}d
|krj|j�d}|jd|�}d
|dkrj|jd|dd�qjWdS)Nz	virt-what�outputZvmwareZkvmZxenzvm-dump-metricsZvirt_metrics)Zsuggest_filenamez
/sys/blockZ256Krzdd if=/dev/%s bs=25 count=1Zmetriczdd if=/dev/%s bs=256k count=1)Zcollect_cmd_output�
splitlinesZis_installedZadd_cmd_outputZ
path_isdir�listdir�splitZexec_cmd)�selfZvwZsysblockZdiskZdev�r�r�/usr/lib/python3.6/vhostmd.py�setups$


z
vhostmd.setupN)rrr)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>	s