MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.126
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/dstat/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/dstat/dstat_top_mem.pyo
�
���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.
    cCs1d|_d|_d|_d|_d|_dS(Nsmost expensivesmemory processtsii(smemory process(tnametvarsttypetwidthtscale(tself((s!/usr/share/dstat/dstat_top_mem.pyt__init__s
				cCsd|jd<x�t�D]�}ytd|�}Wntk
rGqnXt|�dkr`qnt|d�t}||jdkr�qn||jd<t||ddd!�|jd<||jd<qWd	|jd
|jdd|jd
!t	|jddd
d
�f|_
dS(Ngtmaxs
/proc/%s/statiii����Rtpids%-*s%siitfi(tvaltproc_pidlisttproc_splitlinetIOErrortlentinttpagesizetgetnamebypidRtcprinttoutput(RR
tltusage((s!/usr/share/dstat/dstat_top_mem.pytextracts


!cCsd|jd|jdfS(Ns	%s / %d%%RR	(R(R((s!/usr/share/dstat/dstat_top_mem.pytshowcsv*s(t__name__t
__module__t__doc__RRR(((s!/usr/share/dstat/dstat_top_mem.pyRs		N(tdstatR(((s!/usr/share/dstat/dstat_top_mem.pyt<module>s

MMCT - 2023