ping - send ICMP ECHO request packets to network hosts
ping host [timeout]
ping sends an ICMP ECHO request packet to the specified host and waits for a response. If a packet is returned within timeout seconds (default: 20 seconds), the host is considered to be "alive" and the message
<host> is alive
is printed. Otherwise, the message
<host> did not respond
is printed. Note that although responding to ECHO request packets is considered mandatory, some sites choose to block these requests.
timeout must be no greater than 3600 seconds (one hour).
NOTE: To be used by normal users (ie. not the superuser), this utility must run suid root.
0 >0 |
The machine is alive. An error occurred or the machine did not respond within timeout seconds. |
Tim J. Robbins
icmp(7), ip(7), RFC 792