403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.7/site-packages/tuned/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyo
�
��\c@stddlmZddlmZddlZddlmZddlZejj	�Z
dejfd��YZdS(i(tbase(t
exceptionsi����N(tcommandstEeePCSHEPlugincBsSeZdZd�Zed��Zd�Zd�Zd�Zd�Z	d�Z
RS(sh
	Plugin for tuning FSB (front side bus) speed on Asus EEE PCs with SHE (Super Hybrid Engine) support.
	cOszt�|_d|_tjj|j�s6d|_ntjj|j�s]tjd��ntt	|�j
||�dS(Ns!/sys/devices/platform/eeepc/cpufvs%/sys/devices/platform/eeepc-wmi/cpufvs)Plugin is not supported on your hardware.(Rt_cmdt
_control_filetostpathtisfileRtNotSupportedPluginExceptiontsuperRt__init__(tselftargstkwargs((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyRs	cCs idd6dd6dd6dd6S(	Ng333333�?tload_threshold_normalg�������?tload_threshold_powersaveit
she_powersaveit
she_normal((R((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt_get_config_optionss
cCs7t|_t|_d|_|jjdd�|_dS(Ntload(	tFalset_has_static_tuningtTruet_has_dynamic_tuningtNonet	_she_modet_monitors_repositorytcreatet
_load_monitor(Rtinstance((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt_instance_init s			cCs2|jdk	r.|jj|j�d|_ndS(N(RRRtdelete(RR((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt_instance_cleanup&scCsc|jj�d}||jdkr9|j|d�n&||jdkr_|j|d�ndS(NtsystemRt	powersaveRtnormal(Rtget_loadtoptionst
_set_she_mode(RRtdeviceR((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt_instance_update_dynamic+s
cCs|j|d�dS(NR$(R'(RRR(((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt_instance_unapply_dynamic2scCsgt|jd|�}|j|krctjd||f�|jj|jd|�||_ndS(Nsshe_%ssnew eeepc_she mode %s (%d) s%s(tintR&RtlogtinfoRt
write_to_fileR(RRtnew_modetnew_mode_numeric((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyR'6s
(t__name__t
__module__t__doc__RtclassmethodRRR!R)R*R'(((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyR	s							(
tRRt
tuned.logsttunedttuned.utils.commandsRRtlogstgetR,tPluginR(((sB/usr/lib/python2.7/site-packages/tuned/plugins/plugin_eeepc_she.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit