GitHub user nileader opened a pull request: https://github.com/apache/zookeeper/pull/5
Stat the realtime tps of zookeepr server Apache issue: ZOOKEEPER-1804(https://issues.apache.org/jira/browse/ZOOKEEPER-1804) If you also want to know how client use zookeeper, and the real time r/w ps of each zookeeper client, you can use the patch "ZOOKEEPER-1804-2.patch" use java properties: -Dserver_process_stats=true to open the function. Sample: $>echo rwps|nc localhost 2181 RealTime R/W Statistics: getChildren2:ããã0.5994005994005994 createSession:ãã1.6983016983016983 closeSession:ããã0.999000999000999 setData:ããããã110.18981018981019 setWatches:ããã129.17082917082917 getChildren:ããã 68.83116883116884 delete:ãããããã19.980019980019982 create: ããããã 22.27772227772228 exists:ãããããã1806.2937062937062 getDate:ããããã729.5704295704296 You can merge this pull request into a Git repository by running: $ git pull https://github.com/nileader/zookeeper branch-3.3.5-taobao Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/5.patch ---- commit 3c69a3ff4e3705d087c3ef59d0267a7e3ae66a60 Author: é¶æ¶ <yinshi...@taobao.com> Date: 2013-10-28T09:08:13Z Init zookeeper-3.3.5 of apache release. commit 04f211ec826c33fda99ca4b27ce9cd1bad3f5df3 Author: é¶æ¶(nileader) <yinshi...@taobao.com> Date: 2013-11-04T06:47:03Z Stat the realtime tps of zookeepr server. https://issues.apache.org/jira/browse/ZOOKEEPER-1804 ----