HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/kernelrt.cpython-36.opt-1.pyc
3

-�_g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�SoSPredicatec@s$eZdZdZdZdZdZdd	�Zd
S)
�KernelRTzRealtime kernel variantZkernelrt�system�hardware�kernel�mrg�/sys/kernel/realtimecCs^d}|jdddd|d|dg�dd	d
�}|j|t||d�d�}|jd
|rPdnd���dS)Nz-/sys/devices/system/clocksource/clocksource0/z
/etc/rtgroupsz#/proc/sys/kernel/sched_rt_period_usz$/proc/sys/kernel/sched_rt_runtime_usz/sys/kernel/realtimeZavailable_clocksourceZcurrent_clocksourceztuna --helpz-P)�cmd�output)Zcmd_outputs)Zpredztuna z-CPzshow_threads -C)Z
add_copy_specZtest_predicaterZadd_cmd_output)�selfZclocksource_pathZcoutZoption_present�r�/usr/lib/python3.6/kernelrt.py�setups
zKernelRT.setupN)rrrr	)r
)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesrrrrrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>s