linux - Find which protocol (binary or ascii) is memcached using? -


currently, memcached (1.4.4) running on our servers (centos 6.7) , no protocol specified -b option means using default (auto-negotiate option). there way find protocol being used?

what i've tried far:

  1. echo -e '\x80' | nc host 11211

(gives no output message)

  1. echo -e 'stats conns\r\n' | nc host 11211

(gives 'error' output)

reference: how memcached negotiate protocol?

i'm aware of magic byte specifies protocol version. tried reviewing contents on packets through tcpdump no luck far. also, there no log file specified in memcached startup script have no access logs. appreciated.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -