Server IP : 111.118.215.189 / Your IP : 216.73.216.126 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python2.7/site-packages/tuned/profiles/functions/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� ��\c @ sd d d l Z d d l Z d d l m Z d d l m Z e j j � Z d e j f d � � YZ d S( i����Ni ( t base( t commandst cpulist_presentc B s e Z d Z d � Z d � Z RS( sY Checks whether CPUs from list are present, returns list containing only present CPUs c C s t t | � j d d � d S( NR i ( t superR t __init__( t self( ( sU /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyR s c C s� t t | � j | � s d S| j j d j | � � } | j j | j j d � � } d j d � t t t | � j t | � � � � D� � S( Ns ,,s /sys/devices/system/cpu/presentt ,c s s | ] } t | � Vq d S( N( t str( t .0t v( ( sU /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pys <genexpr> s ( R R t executet Nonet _cmdt cpulist_unpackt joint read_filet sortedt listt sett intersection( R t argst cpust present( ( sU /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyR s ( t __name__t __module__t __doc__R R ( ( ( sU /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyR s ( t ost tuned.logst tunedt R t tuned.utils.commandsR t logst gett logt FunctionR ( ( ( sU /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_present.pyt <module> s