
Tracing and Logging Utilities
netfmt
Chapter 7 181
netfmt
Use this command to format the trace file that was created with nettl.
Refer to the man pages for x25trace for more information and examples
on this command
Syntax
netfmt [-c filter file [-p]] [-F] [-t records] [-N] [-v] [-l]
[-1[LT]] [[-f] file_name]
Parameters
-c filter file
Specifies the name of the file containing the filter
configuration commands. You create this file with your
text editor. If this option is omitted, filter configuration
commands are read from the $HOME/.nettr file if it
exists. Refer to “Creating a filter file” at the end of this
section for an explanation of filter file syntax.
-p The parse input option lets you do a syntax check on
the configuration file specified with the -c option. If
the syntax is correct, netfmt terminates with no output
or warnings.
-F The follow input file option causes netfmt to keep the
input file open when it reaches the end of the file. The
file is kept open and netfmt continues to read from it
as new data arrives. This option is useful for
troubleshooting because it lets you monitor events in
real time.
-t records
Lets you specify how many records you want to format
from the end of the file. This enables you to get the
most recent information. The maximum number of
records is 1000. By default, all records are formatted.
-f file_name
Comentarios a estos manuales