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( s7 Amount of used and free space per mountpoint. c C s# d | _ | j d � d | _ d S( Nt usedt frees /etc/mtabi ( R R ( t nickt opent cols( t self( ( s# /usr/share/dstat/dstat_freespace.pyt __init__ s c C s� g } x� | j � D]� } t | � d k r1 q n | d d k rG q n | d d k r] q n | d } t j | � } | d d k r� q n | j | � q W| S( Ni i t binfmt_misct devptst iso9660t nonet proct sysfst usbfsi t sunrpci ( R R R R R R R ( R R R R R ( t splitlinest lent ost statvfst append( R t rett lt namet res( ( s# /usr/share/dstat/dstat_freespace.pyt vars s c C s* g | j D] } d t j j | � ^ q S( Nt /( R R t patht basename( R R ( ( s# /usr/share/dstat/dstat_freespace.pyR s c C s� d | j d <x� | j D]� } t j | � } t | j � t | j � t | j � t | j � t | j � f | j | <| j d d | j | d | j d d | j | d f | j d <q Wd S( Ni t totali ( i i ( t valR R R t floatt f_blockst f_bavailt longt f_frsize( R R R ( ( s# /usr/share/dstat/dstat_freespace.pyt extract s L( t __name__t __module__t __doc__R R R R$ ( ( ( s# /usr/share/dstat/dstat_freespace.pyR s N( t dstatR ( ( ( s# /usr/share/dstat/dstat_freespace.pyt <module> s