netfmt.1m (2011 03)
n
netfmt(1M) netfmt(1M)
subsystem. Trace kinds and their corresponding masks are:
Name Mask Name Mask
hdrin 0x80000000 state 0x04000000
hdrout 0x40000000 error 0x02000000
pduin 0x20000000 logging 0x01000000
pduout 0x10000000 loopback 0x00800000
proc 0x08000000
hdrin Inbound Protocol Header.
hdrout Outbound Protocol Header.
pduin Inbound Protocol Data Unit (including header and data).
pduout Outbound Protocol Data Unit (including header and data).
proc Procedure entry and exit.
state Protocol or connection states.
error Invalid events or condition.
logging Special kind of trace that contains a log message.
loopback Packets whose source and destination system is the same.
formatter filter log_instance value
value specifies the log instance number of the messages to filter. Selecting a log
instance allows the user to see the messages from a single thread of network events.
Only one log instance is allowed per filter configuration file. The log instance can
not be negated with the ! operator.
formatter filter subsystem value
value specifies the subsystem name. Available subsystem names can be listed by
using the command:
nettlconf -status
Only one subsystem name is allowed per line; multiple lines OR the request. To
eliminate a given subsystem name, use the ! operator, which formats all subsys-
tems except those excluded by the list of negated subsystems. To include all subsys-
tems (the default), use the * operator. To eliminate all subsystems, use the !*
operator.
formatter filter time_from value
formatter filter time_through value
time_from indicates the inclusive starting time. time_through indicates the
inclusive ending time. value consists of time_of_day and optionally day_of_year ,
(usually separated by one or more blanks for readability).
time_of_day specifies the time on the 24-hour clock in hours, minutes, seconds and
decimal parts of a second (resolution is to the nearest microsecond). Hours, minutes
and seconds are required; fractional seconds are optional. time_of_day format is
hh
:mm:ss.dddddd.
day_of_year specifies the day of the year in the form month/day/year in the format:
mm
/dd/[yy]yy. Specify month and day numerically, using one or two digits. For
example, January can be specified as 1 or 01; the third day of the month as 3 or
03. Specify the year in four digits or by its last two digits. Only years in the ranges
1970-2037 are accepted. Two digit years in the range 70-99 are interpreted as being
in the 20th century (19xx) and those in the range 00-37 are interpreted as being in
the 21st century (20xx) (all ranges inclusive). day_of_year is an optional field; the
current date is used as a default.
The
time_from specification includes only those records starting from the resolu-
tion of time given. For example, if the time_of_day for time_from is specified as
10:08:00, all times before that, from 10:07:59.999999 and earlier, are excluded from
the formatted output. Records with times of 10:08:00.000000 and later are included
in the formatted output. Similarly, the time_through specification includes only
up to the resolution of time given. For example, if the time_of_day for
time_through is specified as 10:08:00, all records with times after that, from
10:08:00.000001 onward, are excluded from the formatted output.
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: March 2011