forsyth20121205-174063a80cc13 years agoHistory
64 lines · 1.3 KB · Text
RawDownload
.TH 8 PING.SH NAMEping \- probe the Internet.SH SYNOPSIS.B ip/ping.RB [ -alq ][.BI -i " interval"] [.BI -s " size"] [.BI -n " nping"].I destination.SH DESCRIPTION.I Pingsends ICMP echo requests to a network.I destination(which has the syntax accepted by.IR 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..PPThe options are:.TP.B -ainclude source and destination IP addresses in the output.TP.BI -i " interval"send requests with the given.I intervalbetween messages,in milliseconds (default: 1 second).TP.B -llist only lost messages.TP.BI -n " nping"send.I npingmessages in all (default: 32).TP.B -qsuppress per-packet output, giving summary data only.TP.BI -s " size"send request packets of the given.I sizein bytes(default: 64, minimum 32).SH SOURCE.B /appl/cmd/ip/ping.b.SH SEE ALSO.IR dial (2),.IR ip (3).SH DIAGNOSTICS.I Pingyields an error status if any request had no corresponding reply..SH BUGSWorks only on native Inferno and when hosted on Plan 9, owing to the lack ofaccess to ICMP on other hosted systems.