Using the HP DTC Manager/UX

161
About dtcping
13
About dtcping
The dtcping command is used as a troubleshooting tool to perform a connection
test. dtcping is similar to the networking ping command (refer to the online man
page for ping). The ping command sends a series of packets to a remote node which
are echoed back. The dtcping command sends a series of packets to the DTC which
are echoed back. Both commands are useful to check if a DTC is still up and
running at least at the IP level of the networking stack.
dtcping sends one ICMP (Internet Control Message Protocol) echo packet per
second to each DTC. You specify the number and the size of the ICMP echo packets
and the DTC names. For each DTC, the number of packets transmitted, the number
of packets received, and the ratio of packets lost are reported. In addition, an event is
generated, written into the event log, and displayed on the console for each DTC
having a 100 percent packet loss.
Each packet that is echoed is reported on your terminal screen.
The dtcping command helps you:
do a preliminary connectivity check when setting up the DTC connections
do a quick check of the connectivity if the response from the DTCs seem
unusually slow
You must run dtcping as superuser. The dtcping command can be scheduled using
the HP-UX at command or the HP-UX cron command. Only one dtcping or
dtcdiag command can be run at a time.
dtcping syntax
dtcping
dtcs
... [
packetsize
] [ -n
numpackets
]
Parameter descriptions
dtcs
The names of the DTCs to which a dtcping is to be performed.
The asterisk metacharacter (*) can represent any string of characters for this
parameter. It must usually be escaped.
packetsize
By default (when
packetsize
is not specified), the size of transmitted packets is
64 bytes. The minimum value allowed for
packetsize
is eight bytes, the
maximum is 1480 bytes.