Tracing and Logging Utilities

netfmt

Filter File Examples

The following examples illustrate the use of filter configuration commands within the filter file.

Starts formatting at 10:55:21 on 7/16/94, finishing 3 minutes later:

FORMATTER FILTER time_from 10:55:00 7/16/94FORMATTER FILTER time_through 10:58:00 7/16/94

Filters data only on lci numbers 1, 3, 4, 5:

SX25L3 lci 1 3-5SX25L3 packet data

After you have created the filter file, check its syntax with:

netfmt -p -c filter_file

and then run:

netfmt -v -c /tmp/filter -f /tmp/tracex25.TRC0 more

186

Chapter 7