Reputation: 205
i want to made java program in which i need to a code java allows to know the memory used by JBOSS. how can i know the jboss memory usage using a code java?
please can you help me? thanks
Upvotes: 0
Views: 200
Reputation: 68715
Jboss server offers its system information such as memory usage through JMX. The jboss.system:type=ServerInfo
MBean provides several attributes that can be used to monitor the thread and memory usage in a JBoss instance.
Learn more about the JBoss JMX interfaces and MBeans: http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/Additional_Services-Memory_and_Thread_Monitoring.html
Upvotes: 2