HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //usr/lib/python3.9/site-packages/tuned/plugins/instance/__pycache__/instance.cpython-39.pyc
a

,�g�@s ddlmZGdd�de�ZdS)�Nc@s�eZdZdZdd�Zedd��Zedd��Zedd	��Zej	d
d	��Zedd��Z
ed
d��Zedd��Zedd��Z
edd��Zedd��Zedd��Zedd��Zedd��Zedd��Zdd �Zd!d"�Zd#d$�Zejfd%d&�Zd'd(�Zd)S)*�Instancez
	c		CsV||_||_||_||_||_||_||_d|_||_d|_	d|_
t�|_t�|_
dS)NTF)�_plugin�_name�_devices_expression�_devices_udev_regex�_script_pre�_script_post�_options�_active�	_priority�_has_static_tuning�_has_dynamic_tuning�set�_assigned_devices�_processed_devices)	�self�plugin�name�priority�devices_expression�devices_udev_regex�
script_pre�script_post�options�r�C/usr/lib/python3.9/site-packages/tuned/plugins/instance/instance.py�__init__szInstance.__init__cCs|jS�N)r�rrrrrszInstance.plugincCs|jSr)rrrrrrsz
Instance.namecCs|jS)z>The instance performs some tuning (otherwise it is suspended).�r
rrrr�active!szInstance.activecCs
||_dSrr)r�valuerrrr &scCs|jSr)rrrrrr*szInstance.prioritycCs|jSr)rrrrrr.szInstance.devices_expressioncCs|jSr)rrrrr�assigned_devices2szInstance.assigned_devicescCs|jSr)rrrrr�processed_devices6szInstance.processed_devicescCs|jSr)rrrrrr:szInstance.devices_udev_regexcCs|jSr)rrrrrr>szInstance.script_precCs|jSr)rrrrrrBszInstance.script_postcCs|jSr)r	rrrrrFszInstance.optionscCs|jSr)rrrrr�has_static_tuningJszInstance.has_static_tuningcCs|jSr)r
rrrr�has_dynamic_tuningNszInstance.has_dynamic_tuningcCs|j�|�dSr)rZinstance_apply_tuningrrrr�apply_tuningTszInstance.apply_tuningcCs|j�||�Sr)rZinstance_verify_tuning)rZignore_missingrrr�
verify_tuningWszInstance.verify_tuningcCs|j�|�dSr)rZinstance_update_tuningrrrr�
update_tuningZszInstance.update_tuningcCs|j�||�dSr)rZinstance_unapply_tuning)rZrollbackrrr�unapply_tuning]szInstance.unapply_tuningcCs|��|j�|�dSr)r)rZdestroy_instancerrrr�destroy`szInstance.destroyN)�__name__�
__module__�__qualname__�__doc__r�propertyrrr �setterrrr"r#rrrrr$r%r&r'r(�constsZ
ROLLBACK_SOFTr)r*rrrrrsF













r)Ztuned.constsr1�objectrrrrr�<module>s