Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/tuned/monitors/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 �<�ej � @ 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 s\ d| _ t� | _t� | _t� | _i | _| j� t| jt�s<t�d| _ t j ddj| j� � d S )NFTzavailable devices: %sz, )�_class_initialized�set� _instances�_available_devices�_updating_devices�_load�_init_available_devices� isinstance�AssertionError�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"