Jump to content

Memcache


Recommended Posts

Posted

I'll move your topic to Server Management (as you're more likely to get an answer in here before it disappears off the first page) :)

  • 2 weeks later...
Posted

You can telnet into your memcached server and use the stats command to get some info.

You should see cmd_get, cmd_set, get_hits, get_misses increasing. The example below is on an unused memcached server.


[root@web01 ~]# telnet 192.168.1.50 11211

Trying 192.168.1.50...

Connected to 192.168.1.50 (192.168.1.50).

Escape character is '^]'.

stats

STAT pid 9880

STAT uptime 173503

STAT time 1265311329

STAT version 1.2.6

STAT pointer_size 64

STAT rusage_user 0.000000

STAT rusage_system 0.006998

STAT curr_items 0

STAT total_items 0

STAT bytes 0

STAT curr_connections 5

STAT total_connections 7

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 56

STAT bytes_written 2354

STAT limit_maxbytes 536870912

STAT threads 4

END



Edit: added code block

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...