| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/dstat/ |
Upload File : |
Ńň
-6Kc @ s d e f d YZ d S( t dstat_pluginc B s) e Z d Z d Z d Z d Z RS( sb
Memcache hit count plugin.
Displays the number of memcache get_hits and get_misses.
c C s: d | _ d | _ d | _ d | _ d | _ d
| _ d S( Ns
Memcache Hitst di i2 t Hitt Misst get_hitst
get_misses( R R ( R R ( t namet typet widtht scalet nickt vars( t self( ( s' /usr/share/dstat/dstat_memcache_hits.pyt __init__ s c C sB y+ d d k a t i d g d d | _ Wn t d n Xd S( Ni˙˙˙˙s 127.0.0.1:11211t debugi s Plugin needs the memcache module( t memcachet Clientt mct Exception( R ( ( s' /usr/share/dstat/dstat_memcache_hits.pyt check s
c C sF | i i } x0 | i D]% } t | d d | | i | <q Wd S( Ni i ( R t get_statsR t longt val( R t statst key( ( s' /usr/share/dstat/dstat_memcache_hits.pyt extract s
( t __name__t
__module__t __doc__R
R R ( ( ( s' /usr/share/dstat/dstat_memcache_hits.pyR s N( t dstatR ( ( ( s' /usr/share/dstat/dstat_memcache_hits.pyt <module> s