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