title: Zookeeper - Where do I find the "real" version of a running instance of Zookeeper?
body: <p>I recently installed a new ZK node w/ Exhibitor, it started fine. When I do a <code>telnet localhost 2181</code> and then run a <code>stats</code> to see the version, even though I installed 3.4.11, I keep seeing 3.4.5 build in the output. I tried to find where does ZooKeeper read the version number but it's just a .jar and some lib files. Do you know where can I get the "real" version I'm supposed to be running? Thanks!</p>
  
  <p>This is what I see when doing <code>telnet</code>:</p>
  
  <pre><code>myserver:/tmp/zookeeper # telnet localhost 2181
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  stats
  Zookeeper version: 3.4.5-1392090, built on 09/30/2012 17:52 GMT
  Clients:
   /127.0.0.1:53133[0](queued=0,recved=1,sent=0)
  
  Latency min/avg/max: 0/0/0
  Received: 41
  Sent: 40
  Connections: 1
  Outstanding: 0
  Zxid: 0x0
  Mode: standalone
  Node count: 4
  Connection closed by foreign host.
  </code></pre>
  
  <p>Running process (<code>ps aux | grep zookeeper</code>) shows:</p>
  
  <pre><code>myuser    19002  0.9  1.2 2618596 49596 ?       Sl   14:02   0:00 /usr/pkgs/java/1.8.0.92/bin/java -Dzookeeper.log.dir=/var/run/zookeeper/log -Dzookeeper.root.logger=WARN,ROLLINGFILE -cp /opt/zookeeper-server/default/bin/../build/classes:/opt/zookeeper-server/default/bin/../build/lib/*.jar:/opt/zookeeper-server/default/bin/../lib/slf4j-log4j12-1.6.1.jar:/opt/zookeeper-server/default/bin/../lib/slf4j-api-1.6.1.jar:/opt/zookeeper-server/default/bin/../lib/netty-3.10.5.Final.jar:/opt/zookeeper-server/default/bin/../lib/log4j-1.2.16.jar:/opt/zookeeper-server/default/bin/../lib/jline-0.9.94.jar:/opt/zookeeper-server/default/bin/../lib/exhibitor-1.6.0.jar:/opt/zookeeper-server/default/bin/../lib/audience-annotations-0.5.0.jar:/opt/zookeeper-server/default/bin/../zookeeper-3.4.11.jar:/opt/zookeeper-server/default/bin/../src/java/lib/*.jar:/var/run/zookeeper/conf: -server -Xmx1g -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false org.apache.zookeeper.server.quorum.QuorumPeerMain /var/run/zookeeper/conf/zoo.cfg
  </code></pre>