HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
n
nettlconf(1M) nettlconf(1M)
-space maxlogspace
(abbrev: -s) maxlogspace is the maximum logging file space to be allowed. This is
the combined size of the 2 ping-ponged log files. Specify the size in multiples of
1024 bytes. Valid range is 1 through 10240. Default is 1000. This is an optional
field.
-filename logfilename
(abbrev: -f) logfilename is the path and file name to be used as the system log file,
without the ping-pong extension (.LOGx). The default system log file is
/var/adm/nettl
. This is an optional field.
-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 can be used to update configuration information about kernel logging.
-KL This indicates that subsequent options apply to updating kernel logging informa-
tion. Changes pertinent to the writing modules of the kernel loggin facility, such as
kernel logging file name and maximum space for kernel log file (see below) will take
effect whenever writing facility gets turned on. Changes to the kernel logging facil-
ity as a whole will not take effect until kl has been stopped and started.
-qmin minimumklqueuesize
minimumklqueuesize determines the minimum number of outstanding messages
possible in the log queue of KL. Valid range is 100 through 10000. The default is
1000. This is an optional field.
-qmax maximumklqueuesize
maximumklqueuesize determines the maximum number of outstanding messages
possible in the log queue of KL. Valid range is 100 through 10000. The default is
1000. This is an optional field.
-space maxlogspace
(abbrev: -s) maxlogspace is the maximum logging file space to be allowed. This is
the size of one ping-ponged log files. Valid range is 8192 (8K) through 1024M.
Default if 1M. This is an optional field.
Note: One can use suffixes
K and M to specify whether size is meant to be in Kilo or
Mega bytes.
-filename logfilename
(abbrev: -f) logfilename is the path and file name to be used as the kernel log file,
without the ping-pong extension (.KLOGx). The default system kernel log file is
/var/adm/kl. This is an optional field.
-write writelog (abbrev: -w) writelog is set to 1 if writing kernel log to disk is to be enabled when
kl is started, 0 if not. Default is 0. 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 and
KL facilities. This is a required field.
Note: Subsystems are mutually exclusively supported by NetTL and KL facilities.
This means that a given subsystem logs its messages either through NetTL or KL,
but not both. The following rule applies: if the subsystem ID number is within 0
through 511 (including end numbers) range, then NetTL facility takes care of those
messages; if the subsystem ID number is within 512 through 1023 (including end
numbers) range then KL facility takes care of those messages. Subsystem ID
numbers greater than 1023 are not allowed.
-name ssname (abbrev: -n) ssname is the subsystem-name mnemonic. This string is used to iden-
tify the subsystem on the nettl and kl command lines and also in the subsystem
header displayed by the formatter (see nettl(1M),kl(1M) and netfmt (1M)). This is a
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 1M−−525