MINI MINI MANI MO

Path : /lib/python2.7/site-packages/tuned/profiles/functions/
File Upload :
Current File : //lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyc

ó
©=[c@sdddlZddlZddlmZddlmZejjƒZ	dej
fd„ƒYZdS(iÿÿÿÿNi(tbase(tcommandstcpulist_onlinecBs eZdZd„Zd„ZRS(sW
	Checks whether CPUs from list are online, returns list containing
	only online CPUs
	cCstt|ƒjddƒdS(NRi(tsuperRt__init__(tself((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyR
scCstt|ƒj|ƒsdS|jjdj|ƒƒ}|jj|jjdƒƒ}djd„t|ƒj	t|ƒƒDƒƒS(Nt,s/sys/devices/system/cpu/onlinecss|]}t|ƒVqdS(N(tstr(t.0tv((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pys	<genexpr>s(
RRtexecutetNonet_cmdtcpulist_unpacktjoint	read_filetsettintersection(Rtargstcpustonline((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyR
s
(t__name__t
__module__t__doc__RR
(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyRs	(tost
tuned.logsttunedtRttuned.utils.commandsRtlogstgettlogtFunctionR(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyt<module>s


OHA YOOOO