minix/man/man1/ping.1

32 lines
849 B
Groff
Raw Normal View History

.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
2012-03-31 23:44:29 +02:00
.TP 20
.B ping 192.168.1.1
# Ping host 192.168.1.1
.TP 20
.B 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 <lb.minix@gmail.com>