korsygfhrtzangaiide
Elepffwdsff
/
usr
/
share
/
dstat
/
Upload FileeE
HOME
� ���Kc @ s d e f d � � YZ d S( t dstat_pluginc B s) e Z d Z d � Z d � Z d � Z RS( s Most expensive CPU process. Displays the process that uses the CPU the most during the monitored interval. The value displayed is the percentage of CPU time for the total amount of CPU processing power. Based on per process CPU information. c C s: d | _ d | _ d | _ d | _ d | _ i | _ d S( Ns most expensives cpu processt si i ( s cpu process( t namet varst typet widtht scalet pidset1( t self( ( s! /usr/share/dstat/dstat_top_cpu.pyt __init__ s c C s� d | _ i | _ d | j d <xt � D]} y t d | � } Wn t k rY q) n Xt | � d k rr q) n | j j | � s� d | j | <n t | d � t | d � | j | <| j | | j | d t t } | | j d k r� q) n | d d d !} | | j d <| | j d <t | | � | j d <q) W| j d d k r�d | j d | j d d | j d !t | j d d d d � f | _ n t t j k r�| j | _ n d S( Nt g t maxs /proc/%s/stati i i i g �?i i����t pidR s %-*s%si t fi"