From: Erik van der Kouwe Date: Wed, 6 Jan 2010 07:36:12 +0000 (+0000) Subject: Man-page for ping, contributed by Leith Brandeland X-Git-Tag: v3.1.6~112 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=a75c9fce4d3529c9f02a97f148fcfb443ab869f5;p=minix.git Man-page for ping, contributed by Leith Brandeland --- diff --git a/man/man1/ping.1 b/man/man1/ping.1 new file mode 100644 index 000000000..f3a79b135 --- /dev/null +++ b/man/man1/ping.1 @@ -0,0 +1,27 @@ +.TH PING 1 +.SH NAME +ping \- send ICMP ECHO_REQUEST packets to network hosts +.SH SYNOPSIS +.B /usr/bin/ping hostname [length] +.de EX +.TP 20 +\\fB\$1\\fR +# \\$2 +.. +.SH EXAMPLES +.EX "ping 192.168.1.1" "Ping host 192.168.1.1" +.EX "ping www.minix3.org 500" "Ping www.minix3.org with 500 byte IP packets" +.SH DESCRIPTION +.PP +Sends ICMP ECHO_REQUEST packets to the specified host and waits for a ECHO_REPLY. +Optionally, the length (size) of the IP packet can be specified. The default is +30 bytes. (Note, the 14 byte Ethernet header will make this a 44 byte packet.) +.SH OPTIONS +.IP length +Size (in bytes) of the transmitted ICMP packet. The default length of the IP +packet is 30 bytes. (Adding the ethernet header will result in a 44 byte +packet being transmitted.) +.SH "SEE ALSO" +ifconfig(8) +.SH AUTHOR +Leith Brandeland