enable-stats-xml

Syntax

tadm enable-stats-xml common_options [--uri=uri] --config=config_name --vs=vs_name

Description

Use this command to enable access to virtual-server statistics in XML format through a URI.

Options

For information about common_options, run the help command.

--uri|-r

Specify the URI at which the statistics report in XML format should be available.

--config|-c

Specify the configuration for which you want to enable the server instance statistics.

--vs|-s

Specify the name of the virtual server for which you want to enable the server instance statistics.

Example

tadm enable-stats-xml --user=admin --password-file=./admin.passwd --host=admin.example.com --port=8989 --no-prompt 
--config=www.example.org --vs=soa.example.org

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, get-stats-xml, get-stats-xml-prop, disable-stats-xml