Sh3ll
OdayForums


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/profiles/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyc
�
��\c@sdddlZddlZddlmZddlmZejj�Z	dej
fd��YZdS(i����Ni(tbase(tcommandstcpulist_invertcBs eZdZd�Zd�ZRS(s�
	Inverts list of CPUs (makes its complement). For the complement it
	gets number of online CPUs from the /sys/devices/system/cpu/online,
	e.g. system with 4 CPUs (0-3), the inversion of list "0,2,3" will be
	"1"
	cCstt|�jdd�dS(NRi(tsuperRt__init__(tself((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyRscCsHtt|�j|�sdSdjd�|jjdj|��D��S(Nt,css|]}t|�VqdS(N(tstr(t.0tv((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pys	<genexpr>ss,,(RRtexecutetNonetjoint_cmd(Rtargs((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyR
s(t__name__t
__module__t__doc__RR
(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyRs	(tost
tuned.logsttunedtRttuned.utils.commandsRtlogstgettlogtFunctionR(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyt<module>s


ZeroDay Forums Mini