| Server IP : 77.68.64.21 / Your IP : 216.73.217.59 Web Server : Apache System : Linux hp3-wp-1011352.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2516497 ( 2094697) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python2.7/site-packages/tuned/profiles/functions/ |
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