How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
Asked
Active
Viewed 2,848 times
1 Answers
10
$telnet ip_of_memcached_host 11211 or $nc ip_of_memcached_host 11211
stats
STAT pid 117
...
STAT limit_maxbytes 67108864
....
STAT evictions 0
END
stats slabs
....
STAT total_malloced 30234456
END
or use favorite programming language api for memcached

hiemye
- 779
- 1
- 7
- 9