<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Very handy, thank you.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Matthew Glubb <matt@zgroupplc.com><br>To: a f <just1coder@yahoo.ca><br>Cc: Memcached list <memcached@lists.danga.com><br>Sent: Wednesday, May 9, 2007 3:17:21 AM<br>Subject: Re: cache stats<br><br><div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>telnet your.memcache.host 11211<br><br>type 'stats'<br><br>On 8 May 2007, at 22:03, a f wrote:<br><br>> Ah, ok thank you. That worked.. I thought there was a tool in the <br>> memcached folder that could do the same without touching the <br>> API ... or bothering the developer
:)<br>><br>> ----- Original Message ----<br>> From: Jehiah Czebotar <jehiah@gmail.com><br>> To: a f <just1coder@yahoo.ca><br>> Cc: memcached@lists.danga.com<br>> Sent: Tuesday, May 8, 2007 4:56:10 PM<br>> Subject: Re: cache stats<br>><br>> On 5/8/07, a f <just1coder@yahoo.ca> wrote:<br>>><br>>> Are there a few commands that can be issued to view the stats <br>>> (cache hits,<br>>> misses, etc) of particular memcached nodes?<br>>><br>><br>> You will need to look at the documentation for your client library as<br>> the exact usage is different in each scenario<br>><br>> here is an example in python<br>><br>>>>> import memcache<br>>>>> m = memcache.Client(['127.0.0.1:11211'])<br>>>>> m.get_stats()<br>> [('127.0.0.1:11211 (1)', {'total_items': '1064', 'bytes_written':<br>> '2579267', 'uptime': '2345949', 'bytes': '26662', 'cmd_get':
'32398',<br>> 'curr_items': '153', 'pid': '6308', 'curr_connections': '4',<br>> 'connection_structures': '5', 'limit_maxbytes': '10485760', 'version':<br>> '1.2.1', 'rusage_user': '0.350000', 'total_connections': '5',<br>> 'cmd_set': '1064', 'time': '1178657627', 'get_misses': '804',<br>> 'bytes_read': '1010270', 'rusage_system': '0.320000', 'pointer_size':<br>> '32', 'get_hits': '31594'})]<br>><br>> -- <br>> Jehiah<br>><br>><br>><br>><br>><br>><br>><br>> Get news delivered with the All new Yahoo! Mail. Enjoy RSS <br>> feeds right on your Mail page. Start today at http:// <br>> mrd.mail.yahoo.com/try_beta?.intl=ca<br><br><br><br>m a t t h e w g l u b b<br><br>________________________________________________________________________<br>Z Group PLC<br><br>Tel: +44 (0) 8700 111 173<br>Fax: +44 (0) 8707 051 393<br>Txt: +44 (0) 7800 140 877<br>Web:
<<a target="_blank" href="http://www.zgroupplc.com/">http://www.zgroupplc.com/</a>><br><br>This email and any files transmitted with it are confidential and<br>intended solely for the use of the individual or entity to whom they are<br>addressed. The opinions expressed in this mail are those of the author<br>and do not necessarily represent the views of the company. If you have<br>received this email in error please notify <service@zgroupplc.com><br><br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.1 (Darwin)<br><br>iD8DBQFGQXWFyI6MkdKPngkRAgNtAKCEeihBB91YdovG1tf2lnwdqFdQQgCfeciU<br>DR5LNvCSa+WiL8hycq6XZaM=<br>=gdvc<br>-----END PGP SIGNATURE-----<br></div></div><br></div></div><br>
                <hr size=1>Now you can have a huge leap forward in email:<a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b> get the new Yahoo! Mail.</b></a> </body></html>