HP-UX SNAplus2 Diagnostics Guide
Using snapfilter and snaptrcfmt
Formatting Internal Binary Trace Output into Text Files
Appendix A108
Formatting Internal Binary Trace Output into
Text Files
The snaptrcfmt command-line utility enables you toformat binary trace
output into one or two text files. It can be used either for line tracing or
for internal tracing, with slightly different options in each case.
• For line tracing, you can format the binary trace output into only one
text file, a message data dump file.
• For all other internal tracing, you can format the binary trace output
into either a message data dump file (see “Message Data Dump”) or a
message flow diagram (see “Message Flow Drawing”), or both. The
message flow diagram is a summary drawing that shows the message
flows between components. If your binary trace file contains both line
tracing and internal tracing, both trace types are included in the
output file.
Running the snaptrcfmt Utility for Line Tracing
The syntax of the command to run the trace format utility for line
tracing is:
snaptrcfmt [-f
filename
] -o [-S | -D] [-M] [-l]
Specify the following options and parameters:
-f
filename
Use this option to specify the name of the input binary
trace file. If you do not use this option, snaptrcfmt
uses sna1.trc as the default.
-o
output_file_base
The base name to be used for the output file. SNAplus2
adds the extension .dmp for the message data dump
file. If you do not use this option, SNAplus2 uses the
file snatrc.dmp as the output file.
-S
Produce a summary trace file, with only one line of
tracing for each message. If the trace file includes