| 8(PING) | 8(PING) |
ping - probe the Internet
ip/ping [-alq] [ -i interval ] [ -s size ] [ -n nping ] destination
Ping sends ICMP echo requests to a network destination (which has the syntax accepted by dial (2)). The target host, if up, should send a corresponding reply. By default, one line is printed for each reply, containing the sequence number (starting at 0) of the message it answers, the round trip time for that reply, the average round trip time so far, and the `time to live' value from the reply packet.
The options are:
/appl/cmd/ip/ping.b
Ping yields an error status if any request had no corresponding reply.
Works only on native Inferno and when hosted on Plan 9, owing to the lack of access to ICMP on other hosted systems.