Twiddle Tool - JBoss

Ratings:
(4)
Views:0
Banner-Img
  • Share this blog:

 

Twiddle Tool - JBoss

Command Line access to a [remote] JMX server (similar to web-based JMX Console) Its capabilities include:

Getting/setting attributes on MBeans

Invoking operations on MBeans

Looking up MBeans

Getting server information

Called twiddle (for twiddling bits)

bin/twiddle.sh (UNIX)

bin/twiddle.bat (Windows)

Great for automation List all deployed web applications: ./twiddle.sh query "jboss.web.deployment:*" jboss.web.deployment:war=web-console.war,id=115013145 jboss.web.deployment:war=jbossmq-httpil.war,id=753610482 jboss.web.deployment:war=ROOT.war,id=-1586513555 jboss.web.deployment:war=jboss-ws4ee.war,id=1143514564 jboss.web.deployment:war=jmx-console.war,id=-1884883379 jboss.web.deployment:war=fortune.war,id=2147076203 jboss.web.deployment:war=invoker.war,id=-1536256770

To enrich your career and become a JBoss professional, visit Tekslate, the global online training platform:" JBoss Training". This course will help you achieve excellence in this field.

Control the life-cycle an application ./twiddle.sh invoke jboss.web.deployment:war=fortune.war,id=2147076203 stop 'null' ./twiddle.sh invoke jboss.web.deployment:war=fortune.war,id=2147076203 start 'null' Get a state on an application ./twiddle.sh get jboss.web.deployment:war=fortune.war,id=2147076203 StateString StateString=Started Get the current memory usage of our JBoss Application Server instance ./twiddle.sh get jboss.system:type=ServerInfo TotalMemory TotalMemory=56184832 Ask JBoss AS to run the garbage collector: ./twiddle.sh invoke jboss.system:type=Server runGarbageCollector 'null' Shutdown JBoss Application Server instance ./twiddle.sh invoke jboss.system:type=Server shutdown

For an in-depth understanding on JBoss click on:

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox