zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andor Molnar <an...@cloudera.com.INVALID>
Subject Re: Four letter word command to get memory usage (patch included)
Date Thu, 14 Feb 2019 16:29:33 GMT
Hi Bram,

Thanks for the contribution. Please follow Enrico's instructions on how to
officially contribute on the ZooKeeper project. Here's our guidelines:
https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute

Additionally, 4lw has become deprecated, so we won't accept new features on
that. You can add new Jetty command or JMX whichever suits you best. IMHO
the best would be add to them both.

Thanks,
Andor



On Thu, Feb 14, 2019 at 5:18 PM Enrico Olivelli <eolivelli@gmail.com> wrote:

> Hi,
> Can you please create a patch against master branch and create a PR in
> github?
>
> Thank you
>
> Enrico
>
> Il giorno gio 14 feb 2019, 17:05 Bram Van Dam <bram.vandam@intix.eu> ha
> scritto:
>
> > Hey folks,
> >
> > I needed a way to keep track of individual ZK instances' memory usage
> > without using JMX, so I went and added a new four letter word: memo
> >
> > Example usage:
> > # echo memo | nc 127.0.0.1 44011
> > Maximum memory: 514850816
> > Free memory: 479290568
> > Total memory: 514850816
> >
> > This exposes the same data that ZOOKEEPER-716 logs, basically the
> > runtime's maximum/free/total memory.
> >
> > Attached patch is against branch-3.4.13 as that's the version we're
> > currently using.
> >
> > Any feedback is highly appreciated.
> > Should I go ahead and create a PR/Jira issue?
> >
> > Thanks,
> >
> >  - Bram
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message