korsygfhrtzangaiide
Elepffwdsff
/
usr
/
share
/
dstat
/
Upload FileeE
HOME
� :�Lc @ s) e j d � a d e f d � � YZ d S( t DSTAT_SQUID_OPTSt dstat_pluginc B s) e Z d Z d � Z d � Z d � Z RS( s, Provides various Squid statistics. c C s: d | _ d | _ d | _ d | _ d | _ d | _ d S( Ns squid statust si i� s$ Number of file desc currently in uses CPU Usage, 5 minute avgs Total accounteds! Number of clients accessing caches Mean Object Sizet fdesct cpu5t memt clntst objsz( s$ Number of file desc currently in uses CPU Usage, 5 minute avgs Total accounteds! Number of clients accessing caches Mean Object Size( R R R R R ( t namet typet widtht scalet varst nick( t self( ( s /usr/share/dstat/dstat_squid.pyt __init__ s c C s3 t j d t j � s! t d � n t d t � t S( Ns /usr/sbin/squidclients Needs squidclient binarys! /usr/sbin/squidclient %s mgr:info( t ost accesst X_OKt Exceptiont cmd_testt squidclient_optionst True( R ( ( s /usr/share/dstat/dstat_squid.pyt check s c C s y` xY t d t d � D]D } | d j � | j k r | d j � | j | d j � <Pq q WWn� t k r� } t j d k r� d | j | f GHn xx | j D] } d | j | <q� WnW t k r} t j d k r� d | j | � GHn x"