HP-UX SNAplus2 Diagnostics Guide
Using snapfilter and snaptrcfmt
Filtering Internal Tracing
Appendix A 103
Filtering Internal Tracing
The snapfilter utility enables you to select specific entries from an
unformatted, internal trace file so that you can extract only the
information you need to diagnose a particular problem. For example, if
the trace file contains many different trace types (messages traced at
different interfaces within SNAplus2), you can select only messages of a
particular type or remove all messages of a particular type. If the trace
file contains data from many different APPC or LUA sessions, you can
include or exclude messages associated with a particular APPC
application or session.
The output of snapfilter is in a binary format that is suitable for
processing by snaptrcfmt.
Running the snapfilter Utility
The syntax for the command to run the trace filter utility is as follows:
snapfilter [-f
infilename
] [-o
outfilename
] [
options
]
Specify the following options and parameters:
-f
infilename
The input trace file. If you do not use this option,
snapfilter uses sna1.trc as the default.
-o
outfilename
The output trace file. If you do not use this option,
snapfilter uses snafil.trc as the default.
+point
tracetype
Include only messages of the type or types specified.
Set
tracetype
to ALL to turn on tracing of all types,
or specify two or more of the following values,
separated by commas only (no spaces) (these values
correspond to the message types described in
“Controlling Internal Trace Files”):
• APPC
• FM