Hello, everyone!
In this post I will introduce to you how to check the number of zookeeper znodes in each directory. let's dissucss it together.
Log in to the ZooKeeper Shell client and run the getusage /znode name command to view the number of znodes (Node count) and data size (Data size) in the directory.
[zk: 192.168.131.10:24002(CONNECTED) 0] getusage /Node count=709, Data size=133264
That's all, thanks!