HP-UX SNAplus2 Diagnostics Guide

Using Logging and Tracing
Tracing
Chapter 3 79
Performing Line Tracing
To perform line tracing using the Motif administration program,
complete the following steps:
Step 1. Enter xsnapadmin from the command line to start the Motif
administration program and display the main window.
Step 2. Select the Diagnostics menu, then select Node tracing. The Tracing
dialog is displayed.
Step 3. Select one of the following DLCs to perform line tracing for:
Token Ring
Ethernet
SDLC
FDDI
X25
Step 4. Optionally, select Truncate messages and enter the maximum message
size, in bytes. This can be helpful if a large amount of data is being
traced and you are interested in the protocol exchanges rather than in
the data itself. Protocol data is usually at the start of the individual
messages.
Step 5. When you have finished, click OK.
Tracing is now enabled and written to the following binary files:
/var/opt/sna/sna1.trc
/var/opt/sna/sna2.trc
If you are tracing an SDLC line and would like more detailed trace
information, you can get this by using internal tracing on SDLC as well
as line tracing. The additional detail is formatted as part of the output
for line tracing, so that you will see all of the SDLC tracing in one file.
For more information, see “Internal Tracing.
To perform line tracing using the command-line administration program,
complete the following steps:
Step 1. If you do not wish to use the default settings then use the snapadmin
set_trace_file command to specify attributes of the tracing file or