korsygfhrtzangaiide
Elepffwdsff
/
usr
/
share
/
dstat
/
Upload FileeE
HOME
� @�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