netfmt.1m (2011 03)
n
netfmt(1M) netfmt(1M)
high Enables output of netfmt internal debugging information to stan-
dard error. Same as the -v option.
low No internal debugging information is to be displayed.
formatter mode value
value is one of the following:
raw Dumps out the messages in hex format.
nice Enables "nice" formatting. Same as
-N option.
terse Attempts to tersely format each traced packet on a single line.
Same as -1 (minus one)option.
normal Normal formatting.
formatter option [!] value
value is one of the following:
suppress Normally repeated lines in hex output are condensed into a single
line and a message stating that redundant lines have been skipped
is displayed. Specifying !suppress will print all redundant data.
This is useful when the formatted output is used as input into other
commands.
highlight Normally the formatter will highlight certain fields in its trace out-
put in inverse video. Specifying !highlight will turn this
feature off. Same as the -l (minus ell )option.
formatter filter type [!] value *
Six type s of filtering are provided:
class log classes
kind trace kinds
*_ID connection, device, path, process, and user
log instance specific thread of events
subsystem subsystem names
time specify ranges of time(s)
The following combinations are recognized:
formatter filter class value [subsystem]
value indicates the log class. This option allows the user to select one or more
classes to be formatted. Initially all log classes are formatted. Only one class is
allowed per line. Classes in multiple lines are logically ORed. The optional subsys-
tem name sets the class filter only for the specified subsystem. The log classes are:
INFORMATIVE Describes routine operations and current system values.
WARNING Indicates abnormal events possibly caused by subsystem
problems.
ERROR Signals an event or condition which was not affecting the
overall subsystem or network operation, but may have
caused an application program to fail.
DISASTER Signals an event or condition which did affect the overall
subsystem or network operation, caused several programs
to fail or the entire node to shut down.
formatter filter Connection_ID value
formatter filter Device_ID value
formatter filter Path_ID value
formatter filter Process_ID value
formatter filter User_ID value
value specifies the ID number of the messages to format. Last-entered value has
precedence over any previous ones. See the record header in the formatted output
to determine which ID numbers to filter on. The ! operator is not allowed in value .
formatter filter kind value [subsystem]
value can either be an established trace kind or a mask. A mask is a hexadecimal
representation of a (set of) trace kind(s). Masks in multiple lines are logically
ORed. The optional subsystem name sets the kind filter only for the specified
HP-UX 11i Version 3: March 2011 − 3 − Hewlett-Packard Company 3