Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61B05104E6 for ; Sun, 8 Sep 2013 14:18:22 +0000 (UTC) Received: (qmail 58140 invoked by uid 500); 8 Sep 2013 14:18:20 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 58092 invoked by uid 500); 8 Sep 2013 14:18:20 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 58083 invoked by uid 99); 8 Sep 2013 14:18:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Sep 2013 14:18:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edward.ribeiro@gmail.com designates 209.85.219.53 as permitted sender) Received: from [209.85.219.53] (HELO mail-oa0-f53.google.com) (209.85.219.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Sep 2013 14:18:13 +0000 Received: by mail-oa0-f53.google.com with SMTP id k18so5763417oag.12 for ; Sun, 08 Sep 2013 07:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=T8NgnAmBHzlEvty1EbI0QXBsHd4H5FSImL167iGuNkY=; b=s3fBbhEepJGZdbgw9KeHPv+NPTRRvhfuQjE8etz/qbUS/PI1lcu5hgXDTtGFJfVgK5 Y8uOn4/BvEc8numG5pYzgGZ787z+tYsOyqV1sQtA2dth/opE295BcYqpbZDBy+gxpioV x6Mq4toFShfJrEqYT/Xkoe2GBF3PRXioCcn/Tk6m9dLT+6BVRCsS8onfR0G0GxE0JFSj lAkW/SVwjwpBkLTks7oEjo9qj9m5OQBdrFSO78L4NwBDAyUGTtgSd916tCAiX+apg9MH siRIFZANG8eW9+UtTONuhV3Z097giSshDjr8SFn7FGZxBJAy47zXNVHjk4kp4jE+mCsw CwLQ== MIME-Version: 1.0 X-Received: by 10.60.80.167 with SMTP id s7mr1224914oex.38.1378649872072; Sun, 08 Sep 2013 07:17:52 -0700 (PDT) Received: by 10.182.76.35 with HTTP; Sun, 8 Sep 2013 07:17:51 -0700 (PDT) In-Reply-To: References: Date: Sun, 8 Sep 2013 11:17:51 -0300 Message-ID: Subject: Re: how to monitor the zookeeper's memory use From: Edward Ribeiro To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=089e01228b14e5074304e5dfefeb X-Virus-Checked: Checked by ClamAV on apache.org --089e01228b14e5074304e5dfefeb Content-Type: text/plain; charset=ISO-8859-1 Sun's JDK comes with an program named jconsole. This tool can attach itself to any running java process and monitor a range of things (threads, memory, cpu, etc). Usually, you just have to start up jconsole and choose, among a list of java processes, the one you want to monitor. You can stop jconsole anytime you want too. Edward On Fri, Sep 6, 2013 at 7:05 AM, Martin Kou wrote: > You can use JMX for that. > > Sent from my iPhone > > > On Sep 3, 2013, at 10:23 PM, ch huang wrote: > > > > hi,all: > > doc says ," The disk is death to ZooKeeper." ,my question is how > > can i monitor zookeeper memory use? > --089e01228b14e5074304e5dfefeb--