Anons79 Mini Shell

Directory : /usr/share/dstat/
Upload File :
Current File : //usr/share/dstat/dstat_top_cpu.pyc

�
���Kc@sdefd��YZdS(tdstat_plugincBs)eZdZd�Zd�Zd�ZRS(s
    Most expensive CPU process.

    Displays the process that uses the CPU the most during the monitored
    interval. The value displayed is the percentage of CPU time for the total
    amount of CPU processing power. Based on per process CPU information.
    cCs:d|_d|_d|_d|_d|_i|_dS(Nsmost expensivescpu processtsii(scpu process(tnametvarsttypetwidthtscaletpidset1(tself((s!/usr/share/dstat/dstat_top_cpu.pyt__init__s					cCs�d|_i|_d|jd<xt�D]}ytd|�}Wntk
rYq)nXt|�dkrrq)n|jj|�s�d|j|<nt	|d�t	|d�|j|<|j||j|d	t
t}||jdkr�q)n|d
d
d!}||jd<||jd<t||�|jd
<q)W|jddkr�d|j
d|jd
d|j
d!t|jdddd�f|_nttjkr�|j|_ndS(Ntgtmaxs
/proc/%s/statiii
ig�?ii����tpidRs%-*s%sitfi"(toutputtpidset2tvaltproc_pidlisttproc_splitlinetIOErrortlenRthas_keytlongtelapsedtcpunrtgetnamebypidRtcprinttsteptoptdelay(RRtltusageR((s!/usr/share/dstat/dstat_top_cpu.pytextracts0		

%$

KcCsd|jd|jdfS(Ns	%s / %d%%RR(R(R((s!/usr/share/dstat/dstat_top_cpu.pytshowcsv:s(t__name__t
__module__t__doc__R	R R!(((s!/usr/share/dstat/dstat_top_cpu.pyRs		'N(tdstatR(((s!/usr/share/dstat/dstat_top_cpu.pyt<module>s

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]