HP-UX SNAplus2 Diagnostics Guide
Using snapfilter and snaptrcfmt
Filtering Internal Tracing
Appendix A 107
only messages between the specified times. The end
time you specify must be later than the start time.
-end
yymmddhhmmss
Exclude messages traced after the specified date and
time. Use the same format as -start.
You can specify both -start and -end to include
only messages between the specified times. The end
time you specify must be later than the start time.
Sample Command and Output
The following sample trace command illustrates some of the command
options:
snapfilter -f new.trc -o newout.trc +point APPC,NOF,DLC -lfsid 0a021 +convid
0100000a
This command does the following:
• Takes input from the file new.trc
• Sends the output to the file newout.trc
• Includes only APPC, NOF, and DLC messages
• Excludes DLC messages with LFSID 0a021
• Includes only APPC messages with conversation ID 0100000a
The output file then contains the following:
• All APPC messages with the specified conversation ID
• All NOF messages
• All DLC messages except those with the specified LFSID
You can then format this filtered output by using the snaptrcfmt
command, which is explained in the next section.