mctop icon indicating copy to clipboard operation
mctop copied to clipboard

Added client/server specific memcached connection counts

Open jasondcamp opened this issue 12 years ago • 3 comments

Currently, we run memcached on servers that serve to multiple machines, and also runs a local client software that makes queries outbound to local or other memcached servers. mctop does not differentiate between an incoming request to the memcached instance, or an outgoing request from the client. I've added the optional flag -c or --detailed-calls which also provides a breakdown of the calls by client or server, enabled sorting of these columns, and added an option -i or --ip-address that allows the user to specify which ip memcached is listening on (by default it uses the local gateway ip address).

This has been very helpful to us in troubleshooting issues to make sure we're focusing on the proper keys, I thought it might be useful for others. I'm happy to make changes or adjustments if necessary.

Jason

jasondcamp avatar Dec 17 '12 02:12 jasondcamp

Thanks for the contribution Jason, i'm still poking around these changes which are great. I've got a couple ideas for features we've been talking about internally that fit nicely with the work you've done so I might merge this onto a feature branch and we can collaborate if you're keen. Will keep this thread updated.

ickymettle avatar Dec 21 '12 03:12 ickymettle

Jason, great work. I'm gonna merge these patches onto a branch and test this feature. Great! ;)

gvarisco avatar Dec 22 '12 10:12 gvarisco

Awesome, let me know if there's anything I can do to help. Thanks!

jasondcamp avatar Dec 24 '12 18:12 jasondcamp