ATM Configuration and Troubleshooting Guide

Logging and Tracing ATM Activity
Viewing Log and Trace Files
Chapter 10 295
Viewing Log and Trace Files
The following sections describe how NetFmt is used to format, filter and
view trace and log data. For more information about netfmt, see the
command man pages.
Viewing Log Files
The netfmt command is used to view log data by manipulating it into a
readable format. For example, the command
netfmt -N -l -f /usr/adm/nettl.LOG00 -t 50
formats the last 50 records in the file /usr/adm/nettl.LOG00.
NOTE The log data is stored in the default log files that are opened when the
nettl daemon is started. The default log files can be located at:
/usr/adm/nettl.LOG00 and /usr/adm/nettl.LOG01 on HP-UX
10.20 and HP-UX 11.0
/usr/adm/nettl.LOG000 and /usr/adm/nettl.LOG001 on HP-UX
11i v1 or later
The default log file is specified in /etc/nettlgen.conf. You can change
the default log files by editing the /etc/nettlgen.conf file.
As an example of the type of data stored in a log file, the message below
shows that the problem is with the end system that you are trying to
connect to:
*******************************ATM/9000 Networking**************************
Timestamp : Tue Mar 19 MET 1996 17:02:40.180212
Process ID : 7559 Subsystem : ATM
User ID ( UID ) : 0 Log Class : ERROR
Device ID : 0 Path ID : 0
Connection ID : 0 Log Instance : 65535
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipatm_arp.c: 3112:
[IPATMARP] Unable to reach the host with IP address = 0x19800151.