korsygfhrtzangaiide
Elepffwdsff
/
usr
/
share
/
dstat
/
Upload FileeE
HOME
� ��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( sF Name and average amount of CPU time consumed in milliseconds of the process that has the highest average amount of cputime for the different slices for the measured timeframe. On a system with one CPU and one core, the total cputime is 1000ms. On a system with two cores the total cputime is 2000ms. c C s: d | _ d | _ d | _ d | _ d | _ i | _ d S( Ns highest averages cputime processt si i ( s cputime process( t namet varst typet widtht scalet pidset1( t self( ( s) /usr/share/dstat/dstat_top_cputime_avg.pyt __init__ s c C s% t j d t j � s! t d � n d S( Ns /proc/self/schedstats7 Kernel has no scheduler statistics, use at least 2.6.12( t ost accesst R_OKt Exception( R ( ( s) /usr/share/dstat/dstat_top_cputime_avg.pyt check s c C s> d | _ i | _ d | j d <x�t � D]�} y_ | j j | � sb i d d 6d d 6| j | <n t d | � d d d !} t d | � } Wn'