Deleted Added
full compact
ping.8 (1559) ping.8 (17724)
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 27 unchanged lines hidden (view full) ---

36.Os BSD 4.3
37.Sh NAME
38.Nm ping
39.Nd send
40.Tn ICMP ECHO_REQUEST
41packets to network hosts
42.Sh SYNOPSIS
43.Nm ping
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 27 unchanged lines hidden (view full) ---

36.Os BSD 4.3
37.Sh NAME
38.Nm ping
39.Nd send
40.Tn ICMP ECHO_REQUEST
41packets to network hosts
42.Sh SYNOPSIS
43.Nm ping
44.Op Fl dfnqrvR
44.Op Fl dfnqrvRQ
45.Op Fl c Ar count
46.Op Fl i Ar wait
47.Op Fl l Ar preload
48.Op Fl p Ar pattern
49.Op Fl s Ar packetsize
50.Sh DESCRIPTION
51.Nm Ping
52uses the

--- 57 unchanged lines hidden (view full) ---

110No attempt will be made to lookup symbolic names for host addresses.
111.It Fl p Ar pattern
112You may specify up to 16 ``pad'' bytes to fill out the packet you send.
113This is useful for diagnosing data-dependent problems in a network.
114For example,
115.Dq Li \-p ff
116will cause the sent packet to be filled with all
117ones.
45.Op Fl c Ar count
46.Op Fl i Ar wait
47.Op Fl l Ar preload
48.Op Fl p Ar pattern
49.Op Fl s Ar packetsize
50.Sh DESCRIPTION
51.Nm Ping
52uses the

--- 57 unchanged lines hidden (view full) ---

110No attempt will be made to lookup symbolic names for host addresses.
111.It Fl p Ar pattern
112You may specify up to 16 ``pad'' bytes to fill out the packet you send.
113This is useful for diagnosing data-dependent problems in a network.
114For example,
115.Dq Li \-p ff
116will cause the sent packet to be filled with all
117ones.
118.It Fl Q
119Somewhat quiet output.
120Don't display ICMP error messages that are in response to our query messages.
121Originally, the
122.Fl v
123flag was required to display such errors, but
124.Fl v
125displays all ICMP error messages. On a busy machine, this output can
126be overbearing. Without the
127.Fl Q
128flag,
129.Nm
130prints out any ICMP error messages caused by its own ECHO_REQUEST
131messages.
118.It Fl q
119Quiet output.
120Nothing is displayed except the summary lines at startup time and
121when finished.
122.It Fl R
123Record route.
124Includes the
125.Tn RECORD_ROUTE

--- 185 unchanged lines hidden (view full) ---

311The maximum IP header length is too small for options like
312.Tn RECORD_ROUTE
313to
314be completely useful.
315There's not much that that can be done about this, however.
316.Pp
317Flood pinging is not recommended in general, and flood pinging the
318broadcast address should only be done under very controlled conditions.
132.It Fl q
133Quiet output.
134Nothing is displayed except the summary lines at startup time and
135when finished.
136.It Fl R
137Record route.
138Includes the
139.Tn RECORD_ROUTE

--- 185 unchanged lines hidden (view full) ---

325The maximum IP header length is too small for options like
326.Tn RECORD_ROUTE
327to
328be completely useful.
329There's not much that that can be done about this, however.
330.Pp
331Flood pinging is not recommended in general, and flood pinging the
332broadcast address should only be done under very controlled conditions.
333.Pp
334The
335.Fl v
336option is not worth much on busy hosts.
319.Sh SEE ALSO
320.Xr netstat 1 ,
321.Xr ifconfig 8 ,
322.Xr routed 8
323.Sh HISTORY
324The
325.Nm
326command appeared in
327.Bx 4.3 .
337.Sh SEE ALSO
338.Xr netstat 1 ,
339.Xr ifconfig 8 ,
340.Xr routed 8
341.Sh HISTORY
342The
343.Nm
344command appeared in
345.Bx 4.3 .