users@glassfish.java.net

Re: Monitoring Problem GL 2.1

From: <glassfish_at_javadesktop.org>
Date: Fri, 15 Jan 2010 05:18:36 PST

on winXP - Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

using GlassFish 2.1.1
asadmin version
Version = Sun GlassFish Enterprise Server v2.1.1

you can look at heap size, with same values provided by visualvm

asadmin get -m --iterations 20 --interval 1 server.jvm.memory.usedheapsize-count
server.jvm.memory.usedheapsize-count = 100209240

server.jvm.memory.usedheapsize-count = 89284424

server.jvm.memory.usedheapsize-count = 94769104

server.jvm.memory.usedheapsize-count = 100513136

server.jvm.memory.usedheapsize-count = 106902456

server.jvm.memory.usedheapsize-count = 94718232

server.jvm.memory.usedheapsize-count = 100031128

server.jvm.memory.usedheapsize-count = 106721016

hth,
cheers
[Message sent by forum member 'dburkhalter' (didier.burkhalter_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=381170