Stopping the audit trace
You can have multiple traces that run at the same time, including more than one audit trace. You can stop a particular trace by issuing the STOP TRACE command with the same options that you use for START TRACE.
About this task
You must include enough options to uniquely identify a particular trace when you issue the command.
-STOP TRACE (AUDIT) CLASS (4,6) DEST (GTF)If you did not save the START command, you can determine the trace number and stop the trace by its number. Use DISPLAY TRACE to find the number.
TNO TYPE CLASS DEST QUAL
01 AUDIT 01 SMF NO
02 AUDIT 04,06 GTF YESThe message indicates that two audit traces are active. Trace 1 traces events in class 1 and sends records to the SMF data set. Trace 1 can be a trace that starts automatically whenever Db2 starts. Trace 2 traces events in classes 4 and 6 and sends records to GTF.
You can stop either trace by using its identifying number (TNO).
-STOP TRACE AUDIT TNO(1)