Data Collector commands
BMC AMI Apptune for Db2 and SQL Performance for DB2 provide commands that you can use to dynamically change the active collection settings and reset the collection interval.
All of these commands cause the reduction table to be written to the LOGSET log file and start a new interval.
Command | Description |
---|---|
APPON | Starts data collection after the DOM agent (BMC DB2 Online Monitor Common Infrastructure agent) is started (when data collection is not started automatically) or after data collection has been stopped by an APPOFF command. |
APPOFF | Stops data collection. The product attempts to perform data reduction to free up storage space. The storage is not freed up if it is in use when the APPOFF command is issued, but is reused the next time data reduction takes place. |
APPFILT | Dynamically apply (or reapply) a filter option set for a Db2 subsystem. APPFILT is used to dynamically change the collection options for a Db2 subsystem without stopping the Data Collector. |
DOMSTART | |
DOMSTOP | |
DOMREFRESH | Refreshes (stop and restart) the DOM agent. For more details, see DOMREFRESH. 1 |
1. Can only be issued as a console command.
See the BMC AMI Apptune for Db2 documentation for a complete explanation of the Apptune commands, or use online Help (type HELP commandName on the Command line of any product panel, and press Enter).
The following examples illustrate some of the ways you can use the APP* commands to modify your collection settings. These examples show the command syntax to use when you issue the commands from the operator console. The advantage of this method is that the commands are recorded in the job log for future reference.
For more information, see the online Help for the filter options set, DOMPLEX option set panels, and the APP* commands.
This section contains the following topics: