The measure disable command disables statistics counters in a performance statistics task.
The undo measure disable or measure enable command enables statistics counters in a performance statistics task.
By default, all statistics counters of the instance bound to the performance statistics collection task are measured.
measure disable [ measure-name ]
undo measure disable [ measure-name ]
measure enable [ measure-name ]
Parameter | Description | Value |
---|---|---|
measure-name | Specifies the name of a statistics counter in a performance statistics collection task. | The value is a string of 1 to 63 case-insensitive characters without spaces. Select statistics counters according to the device configuration. |
Usage Scenario
If the type of the instance bound to a performance statistics task is specified, statistics counters of instances of the specified type are enabled by default. The measure disable command can be used to disable some or all statistics counters.
After you run the measure disable [ measure-name ] command, some or all statistics counters are disabled. To add one or more counters that have been disabled to the performance statistics task again, run the measure enable [ measure-name ] or undo measure disable [ measure-name ] command to enable these counters.
Prerequisites
An instance has been bound to a performance statistics task using the binding instance-type instance-type-name instance instance-name command.
The performance statistics function has been enabled using the statistics enable command.