403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/dstat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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.
    cCsFd|_d|_d|_d|_d|_ttiƒƒ|_dS(Nsmost expensivetsiismemory process(smemory process(	tnamettypetwidthtscaletvarststrtostgetpidtpid(tself((s!/usr/share/dstat/dstat_top_mem.pyt__init__s					cCsjd|id<x
tidƒD]ù}yAt|ƒ||ijowntd|ƒiƒiƒ}Wn+tj
o
qnt	j
o
qnXt
|ƒdjoqnt|dƒt}||idjoqn||id<t||ddd!ƒ|id<||id	<qWd
|i
d|idd|i
d!t|idd
ddƒf|id<dS(Ngtmaxs/proc/s
/proc/%s/statiiiÿÿÿÿRR
s%-*s%siitfismemory process(tvalRtlistdirtintR
topentreadtsplitt
ValueErrortIOErrortlentpagesizetgetnamebypidRtcprint(RR
tltusage((s!/usr/share/dstat/dstat_top_mem.pytextracts*

 
!cCsd|id|idfS(Ns	%s / %d%%RR
(R(R((s!/usr/share/dstat/dstat_top_mem.pytshowcsv4s(t__name__t
__module__t__doc__RRR(((s!/usr/share/dstat/dstat_top_mem.pyRs		!N(tdstatR(((s!/usr/share/dstat/dstat_top_mem.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit