Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib/python2.7/site-packages/tuned/plugins/ |
Upload File : |
� +cc @ s� d d l Z d d l m Z d d l Td d l Z d d l Td d l m Z d d l j Z d d l Z d d l Z e j j � Z d d g Z d d g Z d e j f d � � YZ d � Z d � Z d � Z d � Z d � Z e d � Z d S( i����Ni ( t base( t *( t commandst base_reachable_timet retrans_times /run/sysctl.ds /etc/sysctl.dt SysctlPluginc B sG e Z d Z d � Z d � Z d � Z d � Z d � Z e d � Z RS( s. Plugin for applying custom sysctl options. c O s2 t t | � j | | � t | _ t � | _ d S( N( t superR t __init__t Truet _has_dynamic_optionsR t _cmd( t selft argst kwargs( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_sysctl.pyR s c C s� t | _ t | _ | j | j � } | j j | i � | _ t | j � d k r� t j d � | j | � i | _ | j j | � n | j | _ d S( Ni s0 recovering old sysctl settings from previous run( t Falset _has_dynamic_tuningR t _has_static_tuningt _storage_keyt namet _storaget gett _sysctl_originalt lent logt infot _instance_unapply_statict unsett optionst _sysctl( R t instancet storage_key( ( s? /usr/lib/python2.7/site-packages/tuned/plugins/plugin_sysctl.pyt _instance_init s c C s&