MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.221.238.204
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/locale/war/../wen/../cpf/../moh/../bua/../es_GT/../../dstat/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/locale/war/../wen/../cpf/../moh/../bua/../es_GT/../../dstat/dstat_top_int.pyo
�
ҳLc@sdefd��YZdS(tdstat_plugincBs2eZdZd�Zd�Zd�Zd�ZRS(sM
    Top interrupt

    Displays the name of the most frequent interrupt
    cCs]d|_d|_d|_d|_d|_dgd|_|jd�|j�|_dS(	Ns
most frequentt	interrupttsiiis
/proc/stat(R(tnametvarsttypetwidthtscaletintset1topentnames(tself((s!/usr/share/dstat/dstat_top_int.pyt__init__	s					
cCs�i}x�td�D]�}|j�}t|�tkr=qn|djd�d}dj|td�}|jdd�}tjdd	|�}|||<qW|S(
Ns/proc/interruptsit:t is_hcd:t/s
@pci[:\d+\.]+t(tdopentsplittlentcpunrtjointreplacetretsub(Rtrettlinetltl1tl2((s!/usr/share/dstat/dstat_top_int.pyR
scCs�d|_d|jd<xM|j�D]?}|ddkr#g|dD]}t|�^qD|_q#q#Wx�tt|j��D]�}|j||j|dt}||jdkr|t	|d�|j
j�kr�|j
t	|d�|jd	<nd
t	|d�|jd	<||jd<q|q|Wtt
jkrB|j|_n|jddkr�d|jd	t|jddd
d�f|_ndS(NRgttotalitintrig�?iRsint s%-15s%stdii�(toutputtvalt
splitlinestlongtintset2trangeRRtelapsedtstrR
tkeyststeptoptdelaytcprint(RRtinttiR((s!/usr/share/dstat/dstat_top_int.pytextract s 	
- !cCsd|jd|jdfS(Ns%s / %fRR(R"(R((s!/usr/share/dstat/dstat_top_int.pytshowcsv8s(t__name__t
__module__t__doc__RR
R0R1(((s!/usr/share/dstat/dstat_top_int.pyRs
	
	
	N(tdstatR(((s!/usr/share/dstat/dstat_top_int.pyt<module>s

MMCT - 2023