korsygfhrtzangaiide
Elepffwdsff
/
usr
/
share
/
dstat
/
Upload FileeE
HOME
� ���Kc @ 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( s% Name and total amount of CPU time consumed in milliseconds of the process that has the highest total amount of cputime 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 totals cputime processt si i ( s cputime process( t namet varst typet widtht scalet pidset1( t self( ( s% /usr/share/dstat/dstat_top_cputime.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.pyt check s c C s� d | _ i | _ d | j d <x7t � D],} yX | j j | � s[ i d d 6| j | <n t d | � d d d !} t d | � } Wn'