Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /usr/lib/python2.7/site-packages/tuned/plugins/ |
� +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&