ping(1M) TCP/IP 5.4.2 ping(1M)
NAME
ping - check Internet network node
SYNOPSIS
/usr/bin/ping host [ timeout ]
DESCRIPTION
The ping command tests whether a node on an Internet network is up
and working, though the upper layers of TCP/IP need not be up. This
program sends an ICMP echo packet to host using a RAW socket
interface, expecting the required ICMP response. If the ICMP packet
is sent and received correctly, then a message is printed saying that
host is alive. If there are errors locating host, creating the
socket, sending the message, or receiving the message, an error
message is printed.
The ping continues testing the network until timeout seconds have
elapsed or until an answer is received. The default timeout is 20
seconds. The host argument can be a name or an Internet address.
EXAMPLE
$ ping harpo
harpo is alive (This line is returned.)
SEE ALSO
ruptime(1C).
Licensed material--property of copyright holder(s) 1