[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: Server-side Testsuite Logging

dimitris@jboss.org do-not-reply at jboss.com
Thu May 3 07:18:38 EDT 2007


FYI, for reading the free memory on the server there is the jboss.system:type=ServerInfo mbean.

For the total heap space, it has the following attributes:

FreeMemory (total - used)
TotalMemory (i.e. currently committed memory)
MaxMemory (maximum)

But there is also the listMemoryPools(true/false) operation to give you the same information displayed by JConsole.

http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIDisplayTheMemoryPoolUsage

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042787#4042787

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042787



More information about the jboss-dev-forums mailing list