ok

Mini Shell

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

�
��*cc@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
scsrtt|�j|�sdS|jjdj|��}|jj|jjd���dj�fd�|D��S(Nt,s/sys/devices/system/cpu/onlinec3s'|]}|�krt|�VqdS(N(tstr(t.0tv(tonline(sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pys	<genexpr>s(RRtexecutetNonet_cmdtcpulist_unpacktjoint	read_file(Rtargstcpus((R
sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_online.pyRs
(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


Zerion Mini Shell 1.0