[jboss-user] [Management, JMX/JBoss] - How to know CURRENT HEAP SIZE USED, FREE HEAP SPACE, TOTAL H

Matthew Brasier mbrasier at redhat.com
Fri Mar 28 10:12:03 EDT 2008


You need to use JMX to look up the ServerInfo MBean and use the
attributes on there to get the information you need.
http://docs.jboss.org/jbossas/javadoc/4.0.4/system/org/jboss/system/server/ServerInfo.html

Matt

On Fri, 2008-03-28 at 09:25 -0400, vijayneema wrote:
> I have recently migrated from weblogic to JBoss. I use to have a monitoring tool to show me the current status of memory (size, used, available) in Weblogic. Now since I am using JBoss, I have to update my code to fetch these information from JBoss programatically. 
> 
> Can anyone help me get these information from any API of JBoss.
> 
> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139667#4139667
> 
> Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139667
> _______________________________________________
> jboss-user mailing list
> jboss-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
-- 
------------------------
Matt Brasier

JBoss Consultant, Red Hat GPS EMEA
e: mbrasier at redhat.com
------------------------




More information about the jboss-user mailing list