MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/dstat/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/dstat/dstat_memcache_hits.pyc
�
O�
Kc@sdefd��YZdS(tdstat_plugincBs)eZdZd�Zd�Zd�ZRS(sb
    Memcache hit count plugin.

    Displays the number of memcache get_hits and get_misses.
    cCs:d|_d	|_d
|_d|_d|_d|_dS(Ns
Memcache HitstHittMisstget_hitst
get_missestdii2(RR(RR(tnametnicktvarsttypetwidthtscale(tself((s'/usr/share/dstat/dstat_memcache_hits.pyt__init__	s					cCsBy+ddlatjdgdd�|_Wntd�nXdS(Ni����s127.0.0.1:11211tdebugis Plugin needs the memcache module(tmemcachetClienttmct	Exception(R((s'/usr/share/dstat/dstat_memcache_hits.pytchecks
cCsF|jj�}x0|jD]%}t|dd|�|j|<qWdS(Nii(Rt	get_statsRtlongtval(Rtstatstkey((s'/usr/share/dstat/dstat_memcache_hits.pytextracts(t__name__t
__module__t__doc__R
RR(((s'/usr/share/dstat/dstat_memcache_hits.pyRs		N(tdstatR(((s'/usr/share/dstat/dstat_memcache_hits.pyt<module>s

MMCT - 2023