HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
nettlconf(1M) nettlconf(1M)
-option logoptfile
(abbrev: -o) logoptfile is the path and file name to be used as the console log options
file. The information in this file will be used to select logged events that will be
reported to the system console. The default console logging options file is
/var/adm/conslog.opts
. This is an optional field.
The following options are used to add or update a subsystem description to the database.
-S Indicates that subsequent options apply to adding or updating a subsystem entry.
This is an optional field.
-id ssid (abbrev: -i) ssid (subsystem ID number) is used as the key field in the
nettlgen.conf database. It uniquely identifies a subsystem to the NetTL facility.
This is a required field.
-name ssname (abbrev: -n) ssname is the subsystem-name mnemonic. This string is used to iden-
tify the subsystem on the
nettl command lines and also in the subsystem header
displayed by the formatter (see nettl(1M), and netfmt(1M)). This is a required field.
-class logclass (abbrev: -c) logclass is the default log class mask assigned to the subsystem at
start-up of NetTL facility. This is an optional field.
For multiple classes, the masks must be combined into a single decimal number. For
example, to initially log
DISASTER and ERROR events use 12 as the logclass.
Default is an empty field in nettlgen.conf
. nettl substitutes 12 (disaster
and error) for an empty class field.
Class Abbreviation
informative 1
warning 2
error 4
disaster 8
-kernel (abbrev: -k) flags the given subsystem as a kernel subsystem. nettl
uses this
information to control certain tracing and logging properties of the subsystem. This is
defaulted to non-kernel unless this option is specified.
-streams (abbrev: -st) flags the given subsystem as a streams based kernel subsystem.
nettl uses this information to control certain tracing and logging properties of the
subsystem. A subsystem is defaulted to non-kernel unless this option is used. This is
an optional field.
-lib sslib (abbrev: -l) sslib is the name of the shared library where the subsystem formatter
resides. This should be an absolute path name unless the library resides in
/usr/lib. Multiple subsystems can reference the same library. This is a required
field.
-msg ssmsgcat (abbrev: -m) ssmsgcat is the name of the subsystem formatter message catalog. If
the pathname and .cat filename extension are excluded, /usr/lib/nls/%L/%N.cat
is used to locate ssmsgcat. Otherwise, ssmsgcat must be formatted similarly to the
NLSPATH environment variable (see environ(5)). Multiple subsystems can refer to
the same message catalog. This is a required field.
-fmtfn fmtfunc (abbrev: -f) fmtfunc specifies the function to call when formatting data from the
given subsystem. Multiple subsystems can reference the same formatting function.
Default is to form the function name from the subsystem ID as follows:
subsys_N_format
where N is the subsystem ID number. If a null function is needed for this subsystem,
specify
-f NULL
This is an optional field.
-optfn optfunc (abbrev: -o) optfunc specifies the function used to process options in the netfmt
filter configuration file (see netfmt(1M)). Multiple subsystems can reference the same
options processing function. The default is an empty field in nettlgen.conf.
netfmt assumes a NULL function for an empty optfunc field. This is an optional
field.
62 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: February 2007