Expand Configuration and Management Manual (G06.24+)

Tracing
Expand Configuration and Management Manual523347-008
16-7
Examples
Issue the FILTER command with the RESET option.
If you issue the FILTER command with one set of selection options and then reissue it
with a different set of selection options, the options entered with the second FILTER
command are used to determine the trace information sent to the output device. The
previously entered selection options are overridden; selection options are not
cumulative. For example, if you enter the command FILTER NOL2,NOL3, Layer 2
frame header information and Layer 3 packet header information will not be sent to the
output device. If you then enter the command FILTER NOHDR, only trace record
header information will be filtered. Layer 2 and 3 header information will be sent to the
output device.
If you are tracing the $NCP process, note that the NOL2, NOL4, and NODATA
selection options do not apply. If you want to filter state machine information, use the
SELECT command.
Examples
The following command filters Layer 2 Receive Ready (RR):
?FILTER NOL2RR
The following command resets the filter to the default, so no information is filtered:
?FILTER RESET
FIND Command
The FIND command searches the formatted output of trace records for the specified
string of alphanumeric characters. Only records matching the SELECT and FILTER
options are examined.
BOTH
specifies that you want the search to be case-insensitive; that is, that PTrace
should treat uppercase and lowercase characters the same when searching for a
match.
string
is an optional alphanumeric string. The string can be a maximum of 80 characters.
Considerations
When you enter the FIND command with a string parameter, PTrace begins
searching at the first record in the file. If you enter the FIND command without a
string parameter, PTrace searches for the string parameter specified in the last
FIND command. In this case, PTrace begins the search at the record following the last
F[IND] [ [ B[OTH] ] "string" ]