In order to run a WildFly CLI command from your OS shell, just pass it as parameter after the --connect option.


$JBOSS_HOME/bin/ --connect "/profile=default/subsystem=logging/logger=*:read-resource"

If you need to provide Username/Password on the command line, you can use the following options:

$JBOSS_HOME/bin/ --connect controller=$JBOSS_IP:9990 --user=$USER --password=$property_value --command="/subsystem=logging:read-resource"

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

twiddle reference guide

Please note: twiddle is not available any more as default Command