zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Olivelli <eolive...@gmail.com>
Subject Re: Four letter word command to get memory usage (patch included)
Date Thu, 14 Feb 2019 16:18:26 GMT
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