Return-Path: X-Original-To: apmail-zookeeper-dev-archive@www.apache.org Delivered-To: apmail-zookeeper-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4073C10072 for ; Mon, 4 Nov 2013 06:51:31 +0000 (UTC) Received: (qmail 47511 invoked by uid 500); 4 Nov 2013 06:51:21 -0000 Delivered-To: apmail-zookeeper-dev-archive@zookeeper.apache.org Received: (qmail 47449 invoked by uid 500); 4 Nov 2013 06:51:19 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 47440 invoked by uid 99); 4 Nov 2013 06:51:18 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 06:51:18 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 29E563A1E2; Mon, 4 Nov 2013 06:51:16 +0000 (UTC) From: nileader To: dev@zookeeper.apache.org Subject: zookeeper pull request: Stat the realtime tps of zookeepr server Content-Type: text/plain Message-Id: <20131104065116.29E563A1E2@tyr.zones.apache.org> Date: Mon, 4 Nov 2013 06:51:16 +0000 (UTC) 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: 银时 Date: 2013-10-28T09:08:13Z Init zookeeper-3.3.5 of apache release. commit 04f211ec826c33fda99ca4b27ce9cd1bad3f5df3 Author: 银时(nileader) Date: 2013-11-04T06:47:03Z Stat the realtime tps of zookeepr server. https://issues.apache.org/jira/browse/ZOOKEEPER-1804 ----