tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat HeapMemoryUsage MBean question
Date Thu, 06 Sep 2012 23:48:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shanti,

On 9/6/12 10:15 AM, Shanti Suresh wrote:
> Oh my!  Thank you!  I remember reading that a while back but just
> missed it when in need.  However, the syntax didn't produce the
> desired results.
> 
> " 
> https://hostname_fqdn:8453/manager/jmxproxy/?get=java.lang:type=Memory&att=HeapMemoryUsage&key=used"
>
> 
==> gives me the composite result back:
> 
> OK - Attribute get 'java.lang:type=Memory' - HeapMemoryUsage= 
> javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=java.lang.management.MemoryUsage,items=((itemName=committed,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=init,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=max,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=used,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={committed=422940672,
>
> 
init=0, max=3087007744, used=116903640})
> 
> 
> I will try some more.  But I may be doing something wrong,
> perhaps?

The "key" parameter was added in 7.0.27 and I don't believe it was
back-ported to Tomcat 6.0.x. What version are you running?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBJNkwACgkQ9CaO5/Lv0PBr/QCgru/OI/DxTEbHGXgiaVXHwFuM
9UkAoIYWd9oH+Hm0j+IaDtE+cDOWtr0s
=/mh1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message