Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-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 1191595C9 for ; Wed, 22 May 2013 08:23:41 +0000 (UTC) Received: (qmail 57473 invoked by uid 500); 22 May 2013 08:23:41 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 57212 invoked by uid 500); 22 May 2013 08:23:40 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 57191 invoked by uid 99); 22 May 2013 08:23:40 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 08:23:40 +0000 Received: from localhost (HELO [192.168.1.126]) (127.0.0.1) (smtp-auth username mpercy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 08:23:39 +0000 References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-82B976E3-00A9-46E0-A706-8CAE80BF34A4 Content-Transfer-Encoding: 7bit Message-Id: <5FB2BD3E-9ED8-4FA4-AA5E-BC597DD0AFBC@apache.org> Cc: "user@flume.apache.org" X-Mailer: iPhone Mail (10B142) From: Mike Percy Subject: Re: Checking channel size. Date: Wed, 22 May 2013 01:23:38 -0700 To: "user@flume.apache.org" --Apple-Mail-82B976E3-00A9-46E0-A706-8CAE80BF34A4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable You can only enable one monitoring method at a time right now. Patches accep= ted if you want to help fix that problem :) Sent from my iPhone On May 22, 2013, at 1:03 AM, Pranav Sharma wrote: > Thanks Mike. I was trying to do this remotely. >=20 > Regards, > -Pranav. >=20 >=20 > On Wed, May 22, 2013 at 1:00 AM, Mike Percy wrote: >> You can attach to the process locally via JMX and pull the metric from th= ere. I'm not sure how to do it via the command line though. >>=20 >> Mike >>=20 >>=20 >>=20 >> On Wed, May 22, 2013 at 12:54 AM, Pranav Sharma w= rote: >>> Is there a way to check the size of a channel either programmatically or= using a command line? I'm using a memory based channel and have enabled gan= glia based monitoring. Thanks. >>>=20 >>> Regards, >>> -Pranav. >=20 --Apple-Mail-82B976E3-00A9-46E0-A706-8CAE80BF34A4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
You can only enable one monitoring method at a time right now. Patches accepted if you want to help fix that problem :)

Sent from my iPhone

On May 22, 2013, at 1:03 AM, Pranav Sharma <pranav@compasslabs.com> wrote:

Thanks Mike. I was trying to do this remotely.

Regards,
-Pranav.


On Wed, May 22, 2013 at 1:00 AM, Mike Percy <mpercy@apache.org> wrote:
You can attach to the process locally via JMX and pull the metric from there. I'm not sure how to do it via the command line though.

Mike



On Wed, May 22, 2013 at 12:54 AM, Pranav Sharma <pranav@compasslabs.com> wrote:
Is there a way to check the size of a channel either programmatically or using a command line? I'm using a memory based channel and have enabled ganglia based monitoring. Thanks.

Regards,
-Pranav.


--Apple-Mail-82B976E3-00A9-46E0-A706-8CAE80BF34A4--