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_latency.pyo
�
���Kc@sdefd��YZdS(tdstat_plugincBs2eZdZd�Zd�Zd�Zd�ZRS(s)
    Top process with highest total latency.

    Displays name and total amount of CPU time waited in milliseconds of
    the process that has the highest total amount waited for the measured
    timeframe.

    For more information see:

        http://eaglet.rain.com/rick/linux/schedstat/
    cCs:d|_d|_d|_d|_d|_i|_dS(Ns
highest totalslatency processtsii(slatency process(tnametvarsttypetwidthtscaletpidset1(tself((s%/usr/share/dstat/dstat_top_latency.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_latency.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
wait_tickss
/proc/%s/statii����s/proc/%s/schedstatig�?tpidRgs%-*s%sitdid(toutputtpidset2tvaltproc_pidlistRthas_keytproc_splitlinetIOErrort
IndexErrortlentlongtelapsedtgetnamebypidtsteptoptdelayRtcprint(RRRtlttotwait((s%/usr/share/dstat/dstat_top_latency.pytextracts2		


(

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

Anon7 - 2021