HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
n
nettl(1M) nettl(1M)
-log class ... (Abbr.: -l)
Requires the -entity option.
Control the class of log messages that are enabled for the subsystems specified by the
-entity option.
class specifies the logging class. Availableclasses are:
Full Abbr. Mask
informative i 1
warning w 2
error e 4
disaster d 8
informative Describes routine operations and current system values.
warning Indicates abnormal events possibly caused by subsystem prob-
lems.
error Signals an event or condition which was not affecting the overall
subsystem or network operation, but may have caused an appli-
cation program to fail.
disaster Signals an event or condition which did affect the overall subsys-
tem or network operation, caused several programs to fail or the
entire node to shut down.
Classes can be specified as keywords or as a single numeric mask depicting which classes to
log. The mask is formed by adding the individualmasks of the log classes. If you choose to
indicate several classes at once, be sure to separate each log class with a space.
disaster logging is always on. The default logging classes for each subsystem is
configured into the configuration file, /etc/nettlgen.conf
. When the tracing/logging
facility is started, the information in the configuration file is read and subsystems are
enabled for logging with the specified classes. To change the log class, use the
"
nettl -log class -entity subsystem" command with a new log class value. If
desired, the command can be run for different log classes and different entities.
-m bytes Specify the number of bytes (bytes) of each trace record to trace. This option allows the
user to specify the number of bytes to be captured in the trace packet. The user may prefer
not to capture an entire PDU trace, such as when the user is only interested in the header.
The maximum value for bytes is 2000. By default, the entire packet is traced. A value of 0
will also cause the entire packet to be traced. This option currently applies only to kernel
subsystems.
-size portsize
(Abbr.: -s)
Used with first -traceon option only.
Set the size in kilobytes (KB) of the trace buffer used to hold trace messages until they are
written to the file. The default size for this buffer is 68 KB. The possible range for portsize
is 1 to 1024. Setting this value too low increases the possibility of dropped trace messages
from fast subsystems.
-status log
-status trace
-status
[all]
(Abbr.: -ss)
Used alone without other options.
Report the tracing and logging facility status. The facility must be operational, that is,
nettl -start has been completed. The additional options define the type of trace or
log information that is to be displayed. The default value is all.
log Log status information
trace Trace status information
all Trace and log status information
Section 1M550 3 HP-UX Release 11i: December 2000
___
___