. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.14 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.6/site-packages/tuned/monitors/__pycache__/ |
Upload File : |
3
�<�e? � @ s@ d dl Zd dlZd dlmZ ejj� ZdgZG dd� de�Z dS )� N)�PluginLoader�
Repositoryc s@ e Zd Z� fdd�Zedd� �Zdd� Zdd� Zd d
� Z� Z S )r c s t t| �j� t� | _d S )N)�superr �__init__�set� _monitors)�self)� __class__� � /usr/lib/python3.6/repository.pyr s zRepository.__init__c C s | j S )N)r )r r
r
r �monitors s zRepository.monitorsc C s d| _ d| _tjj| _d S )Nztuned.monitorsZmonitor_)Z
_namespace�_prefix�tunedr ZMonitorZ
_interface)r r
r
r �_set_loader_parameters s z!Repository._set_loader_parametersc C s0 t jd| � | j|�}||�}| jj|� |S )Nzcreating monitor %s)�log�debugZload_pluginr �add)r Zplugin_nameZdevicesZmonitor_clsZmonitor_instancer
r
r �create s
zRepository.createc C s |j � | jj|� d S )N)Zcleanupr �remove)r Zmonitorr
r
r �delete s zRepository.delete)
�__name__�
__module__�__qualname__r �propertyr r r r �
__classcell__r
r
)r r r s
)
Z
tuned.logsr Ztuned.monitorsZtuned.utils.plugin_loaderr Zlogs�getr �__all__r r
r
r
r �<module> s