On Tue, 2009-03-17 at 14:19 -0700, hotani wrote:
[...]
> Is there a way to check memcached to see if it is functioning
> correctly? 

Memcached supports a "stats" command. One way to view it is simply
telnet to the memcache port. For example:

`--> telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stat
ERROR
stats
STAT pid 6795
STAT uptime 7
STAT time 1237331791
STAT version 1.2.5
STAT pointer_size 32
STAT rusage_user 0.000999
STAT rusage_system 0.003999
STAT curr_items 0
STAT total_items 0
STAT bytes 0
STAT curr_connections 5
STAT total_connections 6
STAT connection_structures 6
STAT cmd_get 0
STAT cmd_set 0
STAT get_hits 0
STAT get_misses 0
STAT evictions 0
STAT bytes_read 13
STAT bytes_written 7
STAT limit_maxbytes 67108864
STAT threads 4
END

I only just started memcached for the purposes of that test, so it's
empty. But you watch the get_hits and get_misses stats, for example, to
see if it's being used.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to