Using the HP DTC 16RX Manager
132
About event logging
20
About event logging
The event log is a binary file in the memory of the DTC to which DTC networking
events are logged.
Up to 256 events are stored in a circular file in the DTC. To read this information it
must first be transferred to the DTC Manager and formatted.
There are two DTC Manager commands related to event logging:
rdtcevents
The command rdtcevents transfers the event information currently in the DTC to
the DTC Manager, formats it and puts it in a log file called
/<tftp_directory>/rdtcmgr/log/dtcname.log.
rdtclist -e
The command rdtclist -e formats and displays an existing log file on the DTC
Manager. Give the log file’s full path name.
Working with event log files
Retrieving and formatting an event log file
Use the command rdtcevents to format DTC event files. The event log file is a
binary file that stores networking event information.
rdtcevents dtcname [>filename]
If you specify a file name using the > (pipe) function, the formatted DTC events are
copied into this file. If you don't specify a file name, formatted events are displayed
on the screen. The output on screen is easier to read if rdtcevents is piped to the
HP-UX more command. The non-formatted DTC events are always stored in the
default log file /<tftp_directory>/rdtcmgr/log/dtcname.log.
Each time you use the command rdtcevents the information in the default log file
/<tftp_directory>/rdtcmgr/log/dtcname.log is overwritten.
Examples
To view the DTC events of the DTC called mydtc on screen:
rdtcevents mydtc | more