HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
netfmt(1M) netfmt(1M)
filter type value
value is a hexadecimal integer of the form:
0xdigits; an octal integer of the form: 0digits;ora
base-ten integer (0 through 65535).
LAN log filtering command has the following form:
filter subsystem value
value takes the form:
subsys_name event event_list
where subsys_name is a subsystem name obtained using the
nettlconf-status command or
one of the following abbreviations:
axin bufs caselib caserouter
ip ipc lan loopback
nsdiag nse probe pxp
rlbdaemon sockregd strlog tcp
timod tirdwr udp nfs
event_list takes the form:
event_spec[,event_spec...]
where event_spec takes one of the three forms:
[!] integer [!]range [!]*
integer is an integer in hexadecimal (leading 0x), octal (leading 0), or decimal, which specifies a
log event for the subsystem indicated.
range takes the form integer-integer, and indicates an inclusive set of events.
X25 Naming and Filtering
The X25 product provides capabilities to assign symbolic names to important numbers and to filter log
events and trace messages. See x25log(1M) and x25trace(1M) for more information about X25 naming and
filtering.
OTS Filtering
The OTS subsystem filter allows filtering of the message ID numbers that are typically found in the data
portion of an OTS subsystem’s log or trace record. The OTS subsystem filter is effective for any subsystem
that is a member of the OTS subsystem group.
OTS trace filtering configuration commands have the following form in config_file:
OTS [subsystem] msgid [!] message_ID*
Keywords and arguments are interpreted as follows:
OTS Identifies the filter as an OTS subsystem filter.
subsystem One of the following group of OTS subsystems:
OTS ACSE_PRES NETWORK
TRANSPORT SESSION
Note: The absence of subsystem implies that the filter applies to all OTS subsystems.
message_ID is the value of the message ID to filter. A message ID is used by OTS subsystems to
identify similar types of information. It can be recognized as a 4 digit number con-
tained in brackets ([]) at the beginning of an OTS subsystem’s trace or log record.
Initially all message_IDs are enabled for formatting. To format records with specific
message_IDs, turn off all message IDs using the !* operator, then selectively enable
the desired message IDs. Only one message_ID is allowed on each line. Multiple lines
are ORed together.
STREAMS Filtering
The STREAMS subsystem filter allows filtering on some fields of the messages logged by STREAMS
modules and drivers. See strlog(7) for more information.
46 Hewlett-Packard Company − 7 − HP-UX 11i Version 3: February 2007