You can activate and inactivate a SmartTrace definition by using OCS commands.
You can schedule a trace from OCS or Command Entry by activating and stopping a trace definition at defined times.
To start a trace at a defined time, issue the following command in conjunction with the AT command:
TRCACT name
To stop a trace at a defined time, issue the following command in conjunction with the AT command:
TRCINACT name
Specifies the name of an existing SmartTrace definition.
Example
To schedule a trace definition called Trace1 to activate at 22:00 and stop at 23:00, issue the following commands:
AT 22.00.00 ROUTE=SYS CMD=TRCACT Trace1
AT 23.00.00 ROUTE=SYS CMD=TRCINACT Trace1
| Copyright © 2012 CA. All rights reserved. |
|