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)
-tracemax maxsize
(Abbr.: -tm)
Used with first -traceon option only.
Tracing uses a circular file method such that when one file fills up, another file is used. The
number of trace files that can exist on a system at any given time can be specified using the
-n option. See "Data File Management" below for more information on file behavior.
maxsize specifies the maximum size in kilobytes (KB) of any two trace files combined.
Therefore, the maximum size of each trace file will be approximately half of maxsize kilo-
bytes (KB). The default value for the combined file sizes is 1000 KB. The possible range for
maxsize is 100 to 99999.
-n num_files Used with first -traceon option only.
Specifies the number of trace files that can exist on a system at any given time. However,
nettl can reduce the number of trace files depending on the available disk space. If the
option is not specified, the default value is two trace files.
-traceoff (Abbr.: -tf)
Requires the -entity option.
Disable tracing of subsystems specified by the
-entity option. If all is specified as an
argument to the
-entity option, all tracing is disabled. The trace file remains, and can
be formatted by using the netfmt command to view the trace messages it contains (see
netfmt(1M)).
-traceon all
-traceon
kind ...
(Abbr.: -tn)
Requires the -entity option. The -card option is required for X.25 subsystems.
Other options are not required.
Start tracing on the specified subsystems. The tracing and logging facility must have been
initialized by nettl -start for this command to have any effect. The default trace file
is standard output; it can be overridden by the -file option. If standard output is a ter-
minal device, then an informative message is displayed and no trace data is produced.
When tracing is enabled, every operation through the subsystems is recorded if the kind
mask is matched.
kind defines the trace masks used by the tracing facility before recording a message. If
-traceon all is specified, all trace masks are enabled. kind can be entered as one or
several of the following keywords or masks:
keyword mask keyword mask
hdrin 0x80000000 state 0x04000000
hdrout 0x40000000 error 0x02000000
pduin 0x20000000 logging 0x01000000
pduout 0x10000000 loopback 0x00800000
proc 0x08000000
hdrin
Inbound Protocol Header.
hdrout Outbound Protocol Header.
pduin Inbound Protocol Data Unit (including header and data).
pduout Outbound Protocol Data Unit (including header and data).
proc Procedure entry and exit.
state Protocol or connection states.
error Invalid events or condition.
logging Special kind of trace that contains a log message.
loopback Packets whose source and destination system is the same.
For multiple kinds, the masks can be specified separately or combined into a single
number. For example, to enable both pduin and pduout (to trace all packets coming
HP-UX Release 11i: December 2000 4 Section 1M551
___
___