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( c C s: d | _ d | _ d | _ d | _ d | _ i | _ d S( Ns most expensive i/o processs( process pid read write cput si( i ( s( process pid read write cpu( t namet varst typet widtht scalet pidset1( t self( ( s$ /usr/share/dstat/dstat_top_io_adv.pyt __init__ s c C s% t j d t j � s! t d � n t S( Ns /proc/self/ios2 Kernel has no I/O accounting, use at least 2.6.20.( t ost accesst R_OKt Exceptiont True( R ( ( s$ /usr/share/dstat/dstat_top_io_adv.pyt check s c C s� d | _ i | _ d | j d <x�t � D]w} ym| j j | � sp i d d 6d d 6d d 6d d 6| j | <n | j j | � s� i d d 6d d 6d d 6d d 6| j | <n t d | � d d d !} xO t d | � D]= } t | � d k r� q� n t | d � | j | | d <q� Wt d | � } t | � d k rFd } nU t | d � t | d � | j | d <| j | d | j | d d t t } Wn: t k r�q) n'