%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/processor.cpython-312.pyc

�

i��do��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�&�eZdZdZdZdZdZdZd�Zy)�	ProcessorzCPU information�	processor)�system�hardware�memory)�
/proc/cpuinfo)z
cpufreq-utils�cpuidc��d}|jd|zdd|zdd|zdd|zd	d
|zdd|zd
d|zdi�|jddg�|jd�}|j|D�cgc]}|jd|���c}�|j	gd�d��d|j
j
�vr|j	d�yycc}w)Nz/sys/devices/system/cpuz%s/smt/control�cpu_smt_controlz
%s/smt/active�cpu_smt_activez%s/vulnerabilities/.*�	cpu_vulnsz%s/vulnerabilities/spectre_v2�cpu_vulns_spectre_v2z%s/vulnerabilities/meltdown�cpu_vulns_meltdownz%s/cpu.*/online�	cpu_coresz$%s/cpu/cpu0/cpufreq/cpuinfo_max_freq�cpuinfo_max_freqrz/sys/class/cpuid)	�lscpuz	lscpu -aezcpupower frequency-infoz
cpupower infozcpupower idle-infozcpufreq-inforzcpuid -rzturbostat --debug sleep 10T)�
cmd_as_tag�86z
x86info -a)�
add_file_tags�
add_copy_spec�listdir�	path_join�add_cmd_output�policy�get_arch)�self�cpupath�cdirs�cdirs    �>/usr/lib/python3/dist-packages/sos/report/plugins/processor.py�setupzProcessor.setups��+������w�&�(9��g�%�'7�#�g�-�{�+�g�5�7M�)�G�3�5I���'��2�W�<�"�	
�		�	
�����
�	����6�7�����HM�
�@D�D�N�N�4�d�;�
�	�	
���

��	�
	��4�;�;�'�'�)�)�����-�*��!
s�*CN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�files�packagesr$��r#rrs ��"�J��K�/�H��E�)�H�(.r.rN)�sos.report.pluginsrrrr-r.r#�<module>r0s��9�1.��)�1.r.

Zerion Mini Shell 1.0