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 ] |
---|
� ҳLc @ s d e f d � � YZ d S( t dstat_pluginc B s2 e Z d Z d � Z d � Z d � Z d � Z RS( sM Top interrupt Displays the name of the most frequent interrupt c C s] d | _ d | _ d | _ d | _ d | _ d g d | _ | j d � | j � | _ d S( Ns most frequentt interruptt si i i s /proc/stat( R ( t namet varst typet widtht scalet intset1t opent names( t self( ( s! /usr/share/dstat/dstat_top_int.pyt __init__ s c C s� i } x� t d � D]� } | j � } t | � t k r= q n | d j d � d } d j | t d � } | j d d � } t j d d | � } | | | <q W| S( Ns /proc/interruptsi t :t i s _hcd:t /s @pci[:\d+\.]+t ( t dopent splitt lent cpunrt joint replacet ret sub( R t rett linet lt l1t l2( ( s! /usr/share/dstat/dstat_top_int.pyR s c C s� d | _ d | j d <xM | j � D]? } | d d k r# g | d D] } t | � ^ qD | _ q# q# Wx� t t | j � � D]� } | j | | j | d t } | | j d k r| t | d � | j j � k r� | j t | d � | j d <n d t | d � | j d <| | j d <q| q| Wt t j k rB| j | _ n | j d d k r�d | j d t | j d d d d � f | _ n d S( NR g t totali t intri g �?i R s int s %-15s%st di i� ( t outputt valt splitlinest longt intset2t rangeR R t elapsedt strR t keyst stept opt delayt cprint( R R t intt iR ( ( s! /usr/share/dstat/dstat_top_int.pyt extract s - !c C s d | j d | j d f S( Ns %s / %fR R ( R"