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 : |
� @�Lc @ s d e f d � � YZ d S( t dstat_pluginc B s e Z d Z d � Z d � Z RS( sU Provide more information related to the dstat process. The dstat cputime is the total cputime dstat requires per second. On a system with one cpu and one core, the total cputime is 1000ms. On a system with 2 cores the total is 2000ms. It may help to vizualise the performance of Dstat and its selection of plugins. c C sB d | _ d | _ d | _ d | _ d | _ | j d t � d S( Nt dstatt cputimet latencyt di id s /proc/%s/schedstat( R R ( t namet varst typet widtht scalet opent ownpid( t self( ( s /usr/share/dstat/dstat_dstat.pyt __init__ s c C s� | j � } t | d � | j d <t | d � | j d <x8 | j D]- } | j | | j | d t | j | <qD Wt t j k r� | j j | j � n d S( Ni R i R g �?( t splitlinet longt set2R t set1t elapsedt valt stept opt delayt update( R t lR ( ( s /usr/share/dstat/dstat_dstat.pyt extract s +( t __name__t __module__t __doc__R R ( ( ( s /usr/share/dstat/dstat_dstat.pyR s N( R R ( ( ( s /usr/share/dstat/dstat_dstat.pyt <module> s