Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/tuned/monitors/__pycache__/ |
Upload File : |
3 ��cj � @ s, d dl Zejj� 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 | _| j� d| _ tjddj | j� � d S )NFTzavailable devices: %sz, ) �_class_initialized�set� _instances�_available_devices�_updating_devices�_load�_init_available_devices�log�debug�join)�cls� r �/usr/lib/python3.6/base.py�_init_class s zMonitor._init_classc C s t � �d S )N)�NotImplementedError)r r r r r ! s zMonitor._init_available_devicesc C s"