CWBTRC - Trace iSeries™ Access for Linux®

Use this command from a console prompt to configure tracing.

Syntax

cwbtrc [/DT:0-1] [/DPATH:path] [/DWRAP:0-4000] [/DFLTR:0-1] [/DTICK:0-1] [/DFRMT:0-1] [/HL:0-1] 
[/HPATH:path] [/HWRAP:0-4000] [/HFLTR:0-1] [/HTICK:0-1]

Parameters

Note: Defaults shown in bold.

Running CWBTRC without any parameters will show the command syntax and the current status of each parameter.

The output from CWBTRC will have the following naming convention:

cwbdetail-<process name>-pid.csv

cwbhistory-<process name>-pid.csv

The output files will be in semicolon separated record format, suitable for input into spreadsheets for viewing.

Examples

The following command will turn on detail trace and allow it to grow to a 10 mg file before wrapping. It will also turn on history logging.

cwbtrc /dt:1 /dwrap:10 /hl:1

The following command will turn on history log and change the path to /usr/traces

cwbtrc /hl:1 /hpath:/usr/traces