Recent builds of moxi (> 1.6.1) support a "stats proxy config" command, which can show you the exact configuration REST/JSON that moxi is using.
For example, if moxi was started with ketama hashing:
$ ./dev/moxi/moxi -z 11211=127.0.0.1:11411,127.0.0.1:11511Then "stats proxy config" would return:
$ echo stats proxy config | nc 127.0.0.1 11211 STAT 11211:default:config 127.0.0.1:11411,127.0.0.1:11511 END
If moxi was started with membase REST/URL/JSON, then you'll see JSON:
$ echo stats proxy config | nc 127.0.0.1 11211 STAT 11211:default:config { "name": "default", "nodeLocator": "vbucket", "saslPassword": "", ...clipped... } STAT 11211:[ <NULL_BUCKET> ]:config END