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.pyc
�
���Kc@sdefd��YZdS(tdstat_plugincBs2eZdZd�Zd�Zd�Zd�ZRS(s%
    Name and total amount of CPU time consumed in milliseconds of the process
    that has the highest total amount of cputime 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(Ns
highest totalscputime processtsii(scputime process(tnametvarsttypetwidthtscaletpidset1(tself((s%/usr/share/dstat/dstat_top_cputime.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.pytcheckscCs�d|_i|_d|jd<x7t�D],}yX|jj|�s[idd6|j|<ntd|�ddd!}td|�}Wn'tk
r�q)ntk
r�q)nXt	|�d	kr�q)nit
|d�d6|j|<|j|d|j|dd
t}||jdkr)||jd<||jd<t||�|jd<q)q)Wt
tjkrw|j|_n|jdd
kr�d|jd|jdd|jd!t|jdddd�f|_ndS(Ntitresultt	run_tickss
/proc/%s/statii����s/proc/%s/schedstatig�?tpidRgs%-*s%sitdid(toutputtpidset2tvaltproc_pidlistRthas_keytproc_splitlinetIOErrort
IndexErrortlentlongtelapsedtgetnamebypidtsteptoptdelayRtcprint(RRRtlttotrun((s%/usr/share/dstat/dstat_top_cputime.pytextracts2		


(

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

Anon7 - 2021