You may use dtrace if you're running on Solaris
Cheers,
Trond
sudo tcpdump -s 65535 -x -n -q -tttt -i eth0 port 11211 > memc_tcpdump.txt mk-query-digest --type memcached memc_tcpdump.txtThe link to the article above is a couple of years old now. The functionality of mk-queryt-digest with regards to memcached has improved somewhat since the article was written.
You may be interested in experimenting with sFlow:
http://blog.sflow.com/search/label/Memcache
Installing sFlow instrumentation does require a patch to the Memcached
code, so probably doesn't help your current situation.
FYI sFlow can also be used to instrument the web tier, there are
currently implementations for Apache and NGINX
http://code.google.com/p/mod-sflow/
http://code.google.com/p/nginx-sflow-module/
Cheers,
Peter