set-stats-prop

Syntax

tadm set-stats-prop common_options --config=config_name (property_name=property_value)+

Description

Use this command to set the properties of the statistics collection subsystem.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration for which you want to set properties of the statistics collection subsystem.

Operands

property-name=property-value

Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following statistics properties:

enabled: Specifies whether the server collects the statistics.
Values: true, false. Default: true.

interval: Specifies the interval (in seconds) at which the statistics are updated.
Values: 0.001 to 3600.

profiling: Specifies whether the performance buckets used to track NSAPI function execution time are enabled at runtime.
Values: true, false. Default: true.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>

Example

tadm set-stats-prop --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org interval=0.005

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-prop