Changing the default settings that Blueworx Voice Response for AIX uses for the trace file.
Technote (FAQ)
Question
It is sometimes useful to be able to change the default settings that Blueworx Voice Response uses for producing a trace. What options are available and how can they be set?
Cause
Answer
trace -1 -a -L8000000 -T1000000
You can add the additional parameter -o to change the location and filename of the trace file, for example:
trace -1 -a -L8000000 -T1000000 -o /home/dtuser/tracefileRemember to ensure that there is sufficient space in whichever filesystem you decide to use.
When formatting the trace, there is also a modified form of the print_trace utility that you can use. You would normally format the trace by using this syntax:
print_trace > /tmpformatted.traceThis assumes that you are using the file trcfile.1 in /var/adm/ras. If you created a different trace file in /home/dtuser as described above, then the new syntax would be:
print_trace /home/dtuser/tracefile > formatted.traceBecause print_trace internally invokes the AIX trcrpt command, print_trace can use any of the parameters that trcrpt accepts as valid input.
Also note that the Blueworx Voice Response Problem Determination manual describes the trace statement as being of the format trace -1 -L8000000 -T1000000, but does not describe the asynchronous option -a.
Using -a causes the trace to run in the background, thereby returning the command line prompt to the user, who can perform other tasks instead of tying-up the session with the interactive trace mode. In order to stop the trace using this asynchronous mode, enter the command trcstop -1.