HP OpenVMS Systems

ask the wizard
Content starts here

TCP/IP Services and PING?

» close window

The Question is:

On UCX 4.2 when I Used the PING command I received a short answer from TCP
 (%UCX-I-LOOPACT, is alive) I use this command in batch process
 to validate.
Now in TCPIP V5 the PING command send me a long answer and do not stop until I
 press Ctrl-c, how can I obtain a short answer in Version 5 like in version 4?

The Answer is :

  Please make sure you use TCP/IP Services V5.0A.
  The /NUMBER_PACKETS qualifier controls how many packets are sent before
  the PING command terminates:
	PING ( 56 data bytes
	64 bytes from icmp_seq=0 ttl=64 time=0 ms
	---- PING Statistics----
	1 packets transmitted, 1 packets received, 0% packet loss
	round-trip (ms)  min/avg/max = 0/0/0 ms
  In batch mode use $STATUS after the command has completed to determine if
  the node is reachable. For example:
	PING ( 56 data bytes
	---- PING Statistics----
	1 packets transmitted, 0 packets received, 100% packet loss
	%SYSTEM-F-TIMEOUT, device timeout
	$ show sym %status
	  $STATUS == "%X1000022C"

answer written or last revised on ( 6-APR-2000 )

» close window