Using the HP DTC Manager/UX

14
166
Using dtclist
Using dtclist
1 Logon as root or type the HP-UX su (superuser) command from the shell
prompt.
2 At the shell prompt, specify one of the following dtclist commands.
To display a summary of configuration data for a DTC, run the following
command. The output can contain information about the CPU/LAN or LAN, the
boards and the ports.
dtclist -c [logging] [object]
To list the DTC user default configuration, run the following command.
dtclist -C [logging]
To display a list of events that are placed in the event log, run the following
command. The event log is a text file to which networking events are logged.
The dtclist command lists events in the event log based on
filter
and
object
. If no parameters are specified, then all the events in the event log are
displayed.
dtclist [filter] [-f] [logging] [object]
3 Pipe dtclist to the HP-UX more command to read the log files more easily.
Simple dtclist examples
The following examples show different ways of using dtclist. The output is easier to
read if dtclist is piped to the HP-UX more command.
To display events 8 through 10, inclusive:
dtclist -e 8 10 | more
To display the last eleven events recorded in the event log file (remember that
there must be a “\” before the $):
dtclist -e \$-10 $ | more
To provide a complete list of configuration information on DTC1:
dtclist -c DTC1 | more
To report the configuration information on board 0 on DTC1:
dtclist -c DTC1 0 | more
To display a list of all currently managed DTCs:
dtclist -c