You may want to use 4-letter-word commands:
"srvr" command dumps node count along with other information.
Also, there's a patch integrated to trunk, at
https://issues.apache.org/jira/browse/ZOOKEEPER-744, which introduces "mntr"
command that also dumps a lot of useful data, in particular # of nodes and
approx data size.
On Sat, Jul 24, 2010 at 5:31 PM, Maarten Koopmans <maar...@vrijheid.net>wrote:
> Relating to the previous question: is there a quick way to get the total #
> nodes in a Zookeeper cluster (so I can determine utilization)?