Oh, The Huge Manatee

A blog about technology, open source, and the web... from someone who works with all three.

Get Memcache Statistics From the Command Line in One Easy Command

A quick one for myself to come back to. I can never find this one liner when I need it! It’s simple enough:

watch 'php -r '"'"'$m=new Memcache;$m->connect("", 11211);print_r($m->getstats());'"'"

Next time I need to get memcached stats, I’ll check back here.