Provided you have stat enabled (something like 4lw.commands.whitelist=stat,
in ./config/zookeeper.properties), you can use nc to send stat to each zookeeper and verify it is working. You can also tell which is the leader and how many clients (your current request is one!) are attached to each zookeeper node.