| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/tuned/monitors/__pycache__/ |
Upload File : |
a
�]�ij � @ s, d dl Zej�� ZdgZG dd� de�ZdS )� N�Monitorc @ s� e Zd ZdZedd� �Zedd� �Zedd� �Zedd � �Zed
d� �Z edd
� �Z
edd� �Zedd� �Zedd� �Z
d&dd�Zdd� Zdd� Zedd� �Zejdd� �Zdd� Zd d!� Zd"d#� Zd$d%� ZdS )'r z�
Base class for all monitors.
Monitors provide data about the running system to Plugin objects, which use the data
to tune system parameters.
Following methods require reimplementation:
- _init_available_devices(cls)
- update(cls)
c C sL d| _ t� | _t� | _t� | _i | _| �� d| _ t�dd� | j� � d S )NFTzavailable devices: %s�, )
�_class_initialized�set�
_instances�_available_devices�_updating_devices�_load�_init_available_devices�log�debug�join��cls� r �7/usr/lib/python3.9/site-packages/tuned/monitors/base.py�_init_class s zMonitor._init_classc C s
t � �d S �N��NotImplementedErrorr r r r r
! s zMonitor._init_available_devicesc C s"