HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

n
netfmt(1M) netfmt(1M)
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
‘‘OR’’ed. The optional subsystem name sets the kind filter only for the specified sub-
system. 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.
HP-UX 11i Version 2: August 2003 4 Hewlett-Packard Company Section 1M507