Use the following command to enable stats-xml:
./wadm enable-stats-xml --user=admin-user --password-file=admin-password-file [--uri-prefix=prefix]--config=config-name --vs=virtual-server-name
Use the uri-prefix option to set the stats-xml URI.
Deploy the configuration using the wadm deploy-config command.
Access the stats-xml URI, for example:
http://yourhost:port/stats-xml
The statistics are displayed in XML format.