Using the command line tool
cd quickstart/wildfly-10.1.0.Final/
./bin/jboss-cli.sh
-->You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
connect
To see the current state of the datasource you need to enable statistics