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

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -