In JBoss, look for "jboss.system:type=ServerInfo". It has attributes FreeMemory and TotalMemory. In Weblogic 8, query for the type "*:*,Type=JVMRuntime,*", it has HeapFreeCurrent and HeapSizeCurrent. In Weblogic 9, I use the JRockit MBean. Query for the type "*:*,Type=JRockitRuntime". It has attributes of HeapSizeMax and HeapSizeCurrent.
hie..thanks for replying..
u are talking abt jboss.system:type=serverinfo..in that the attributes called total & free memory is of jboss server itself..!!
what if i want to know the memory utilization of specific application on that jboss server., i.e. how much memory is each and every appln using of jboss appln server itself...could u plz tell me the domain name or mbean name which can give this attributes.
Thanks..
hey actually i m making application called jmx-console..in this appln. we 're required to give the statistics like memory usage by each and every appln. deployed onto jboss..and we have to provide alerts if the usage goes beyond thresh hold..
if it is not provided by any appln server.. do u have any idea abt it..coz there might be some way to calculate out the memory usage by each and every appln deployed onto appln server.
Thanks..
Hi,
You can refer the source code of probe which is similer kind of application. But it doesn't display memory consumption per context.
It might be useful to you. This application is available at the following link
http://www.lambdaprobe.org
Regards,
Rakesh