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 <[email protected]> wrote: > You can use JMX for that. > > Sent from my iPhone > > > On Sep 3, 2013, at 10:23 PM, ch huang <[email protected]> wrote: > > > > hi,all: > > doc says ," The disk is death to ZooKeeper." ,my question is how > > can i monitor zookeeper memory use? >
