twiddle reference guide

Connecting to a remote host with twiddle:

By default (pre AS 6 M3) the twiddle command will connect to the localhost at port 1099 to lookup the default jmx/rmi/RMIAdaptor binding of the RMIAdaptor service as the connector for communicating with the JMX server. To connect to a different server/port combination you can use the -s (--server) option:

$ ./ -s host serverinfo -d

$ ./ -s host:1099 serverinfo -d

In JBoss AS 6, by default, the twiddle command will connect to the localhost at port 1090 (using JSR-160 support).  To connect to a different server/port combination, use the --host= and --port= options:

$ ./ --host=host serverinfo -d
$ ./ -s service:jmx:rmi:///jndi/rmi://host:1090/jmxrmi
$ ./ -s service:jmx:rmi:///jndi/rmi://host:1090/jmxrmi

Related articles available on

How do I get the list of MBeans with twiddle?

  JBoss provides a simple command line tool that allows for inte

How to count active session with twiddle ?

  There are some well known alternatives to count the number of

How do I run garbage collector from shell?

  You can suggest JBoss to run the garbage collector in differen

How do I check my application status from shell?

  This is a two process step: at first you need to retrieve the

How do you shut down multiple JBoss instances?

  Supposing you have configured 2 instances of JBoss, one on por

AS 7 Graphical CLI

One new feature of the release 7.1.0 of JBoss AS is the Graphical

Follow us on Twitter