Memcached

From Null-pointer

Jump to: navigation, search

Getting memcached stats

Getting memcached stats from the command-line[1]

use the: stats command

[root@localhost ~]# telnet localhost 11211 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. stats STAT pid 16781 STAT uptime 2891159 STAT time 1228931142 STAT version 1.2.6 STAT pointer_size 32 STAT rusage_user 0.071989 STAT rusage_system 0.380942 STAT curr_items 69 STAT total_items 249 STAT bytes 3871 STAT curr_connections 2 STAT total_connections 1965 STAT connection_structures 6 STAT cmd_get 3270 STAT cmd_set 249 STAT get_hits 403 STAT get_misses 2867 STAT evictions 0 STAT bytes_read 62361 STAT bytes_written 27026 STAT limit_maxbytes 268435456 STAT threads 1 END

References

  1. http://centoshacker.com/kabir/performance/quickly-getting-memcached-stats.html
Personal tools