I am using windows 7 and i want to enable twiddle on jboss 7.1.1. Which are the steps to do that?
Thanks.
Twiddle was a tool/script included in previous versions of JBoss, up to community version 6, to access to the JMX Services of JBoss (MBeans) through command line. Since JBoss 7 is not based any more on Managed Beans, it doesn't include this tool nor the JMX Console. That said, the management operations exposed through Managed Beans in JBoss 7 can be, of course, accessed with the JConsole tool, included with the JDK.
So don't expect there will be an official twiddle command for JBoss 7, though some independent developers have created their own versions.
You have to navigate to the platform-mbean and read the memory-attributes:
You can find the full resource description by using that expression: