title: JBoss Wildfly display values of attributes in jboss-cli command line mode
body: <p>I would like to see values of different attributes while using the jboss-cli.sh commandline tool in JBoss WildFly 8.1 (I think the version doesn't matter that much)</p>
  
  <p>I know how to write values and I know how to list possible attributes to write to ,but I don't know how to check and see what value is there for example set for the mail-smtp attribute.</p>
  
  <p>So I have the following subsystem in the <code>standalone.xlm</code>:</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:mail:2.0"&gt;
      &lt;mail-session name="default" jndi-name="java:jboss/mail/Default"&gt;
          &lt;smtp-server outbound-socket-binding-ref="mail-smtp"/&gt;
      &lt;/mail-session&gt;
  &lt;/subsystem&gt;
  </code></pre>
  
  <p>It seems to refer to some "mail-smtp" value. I'd like to know what exactly is that mail-smtp attribute's value it is referring to.</p>
  
  <p>How can I find this value out in <code>jboss-cli.sh</code> command line tool?</p>