summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.833
1 files changed, 17 insertions, 16 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index c95f231..2d8110d 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -82,19 +82,21 @@ bytes used to fill out the packet. The options are as follows:
.It Fl A
Audible.
Include a bell
-.Pq ASCII 0x07
+.Tn ( ASCII
+0x07)
character in the output when no packet is received before the next packet
is transmitted.
.It Fl a
Audible.
Include a bell
-.Pq ASCII 0x07
+.Tn ( ASCII
+0x07)
character in the output when any packet is received.
This option is ignored
if other format options are present.
.It Fl c Ar count
Stop after sending
-.Pq and receiving
+(and receiving)
.Ar count
.Tn ECHO_RESPONSE
packets.
@@ -214,10 +216,8 @@ network.
If the host is not on a directly-attached network, an error is returned.
This option can be used to ping a local host through an interface
that has no route through it
-.Po
-e.g., after the interface was dropped by
-.Xr routed 8
-.Pc .
+(e.g., after the interface was dropped by
+.Xr routed 8 ) .
.It Fl s Ar packetsize
Specify the number of data bytes to be sent.
The default is 56, which translates into 64
@@ -259,7 +259,7 @@ If duplicate packets are received, they are not included in the packet
loss calculation, although the round trip time of these packets is used
in calculating the round-trip time statistics.
When the specified number of packets have been sent
-.Pq and received
+(and received)
or if the program is terminated with a
.Dv SIGINT ,
a brief summary is displayed, showing the number of packets sent and
@@ -282,12 +282,14 @@ header followed by an arbitrary amount of data.
When a
.Ar packetsize
is given, this indicated the size of this extra piece of data
-.Pq the default is 56 .
+(the default is 56).
Thus the amount of data received inside of an IP packet of type
.Tn ICMP
.Tn ECHO_REPLY
will always be 8 bytes more than the requested data space
-.Pq the Tn ICMP header .
+(the
+.Tn ICMP
+header).
.Pp
If the data space is at least eight bytes large,
.Nm
@@ -302,7 +304,7 @@ Duplicate packets should never occur when pinging a unicast address,
and seem to be caused by
inappropriate link-level retransmissions.
Duplicates may occur in many situations and are rarely
-.Pq if ever
+(if ever)
a good sign, although the presence of low levels of duplicates may not
always be cause for alarm.
Duplicates are expected when pinging a broadcast or multicast address,
@@ -359,12 +361,10 @@ specification states that the
field for
.Tn TCP
packets should be set to 60, but many systems use smaller values
-.Po
-.Bx 4.3
+.No ( Bx 4.3
uses 30,
.Bx 4.2
-used 15
-.Pc .
+used 15).
.Pp
The maximum possible value of this field is 255, and most
.Ux
@@ -430,7 +430,8 @@ heard from the specified
.Ar host ;
a status of two if the transmission was successful but no responses
were received; or another value
-.Pq from Aq Pa sysexits.h
+(from
+.Aq Pa sysexits.h )
if an error occurred.
.Sh SEE ALSO
.Xr netstat 1 ,
OpenPOWER on IntegriCloud