Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ping/ping.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93 | .\" @(#)ping.8 8.2 (Berkeley) 12/11/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd August 21, 2019 | .Dd August 22, 2019 | ||||
.Dt PING 8 | .Dt PING 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ping | .Nm ping | ||||
.Nd send | .Nd send | ||||
.Tn ICMP ECHO_REQUEST | .Tn ICMP ECHO_REQUEST | ||||
packets to network hosts | packets to network hosts | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
.It Fl g Ar sweepminsize | .It Fl g Ar sweepminsize | ||||
Specify the size of | Specify the size of | ||||
.Tn ICMP | .Tn ICMP | ||||
payload to start with when sending sweeping pings. | payload to start with when sending sweeping pings. | ||||
The default value is 0. | The default value is 0. | ||||
.It Fl H | .It Fl H | ||||
Hostname output. | Hostname output. | ||||
Try to do a reverse DNS lookup when displaying addresses. | Try to do a reverse DNS lookup when displaying addresses. | ||||
This is the opposite of | This is the opposite of the | ||||
.Fl n , | .Fl n | ||||
and it is the default behavior. | option. | ||||
.Nm | |||||
utility tries reverse-lookup by default. | |||||
.It Fl h Ar sweepincrsize | .It Fl h Ar sweepincrsize | ||||
Specify the number of bytes to increment the size of | Specify the number of bytes to increment the size of | ||||
.Tn ICMP | .Tn ICMP | ||||
payload after | payload after | ||||
each sweep when sending sweeping pings. | each sweep when sending sweeping pings. | ||||
The default value is 1. | The default value is 1. | ||||
.It Fl I Ar iface | .It Fl I Ar iface | ||||
Source multicast packets with the given interface address. | Source multicast packets with the given interface address. | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
.It Fl m Ar ttl | .It Fl m Ar ttl | ||||
Set the IP Time To Live for outgoing packets. | Set the IP Time To Live for outgoing packets. | ||||
If not specified, the kernel uses the value of the | If not specified, the kernel uses the value of the | ||||
.Va net.inet.ip.ttl | .Va net.inet.ip.ttl | ||||
MIB variable. | MIB variable. | ||||
.It Fl n | .It Fl n | ||||
Numeric output only. | Numeric output only. | ||||
No attempt will be made to lookup symbolic names for host addresses. | No attempt will be made to lookup symbolic names for host addresses. | ||||
This is the opposite of | |||||
.Fl H , | |||||
and it is the default behavior. | |||||
.It Fl o | .It Fl o | ||||
Exit successfully after receiving one reply packet. | Exit successfully after receiving one reply packet. | ||||
.It Fl P Ar policy | .It Fl P Ar policy | ||||
.Ar policy | .Ar policy | ||||
specifies IPsec policy for the ping session. | specifies IPsec policy for the ping session. | ||||
For details please refer to | For details please refer to | ||||
.Xr ipsec 4 | .Xr ipsec 4 | ||||
and | and | ||||
▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines |