HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)
n
netfmt(1M) netfmt(1M)
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.
Global Filtering: For KL’s Subsystems
The below explained global filtering options apply only to KL’s subystems. KL’s global filtering commands
start with the word
kl_formatter, followed by either
verbosity,orfilter.
kl_formatter verbosity value,
value should be either of
high This will format the packets with the UDD, displayed along with
the header of the KL packet
low This will format only the header part of the KL packet. No UDD
will be formatted. verbosityof This will format only the header
part of the KL packet. No UDD will be formatted. verbosityof
low is default.
kl_formatter filter type [!]value *
types of filtering are provided:
class log classes
processor_id specific CPU’s
process_id specific process id’s
thread_id specific thread id’s
subsystem subsystem names
time specify ranges of time(s)
The following combinations are recognized:
kl_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.
kl_formatter filter Processor_ID value
kl_formatter filter Process_ID value
kl_formatter filter Thread_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 .
kl_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
Section 1M−−516 Hewlett-Packard Company − 5 − HP-UX 11i Version 2: September 2004