summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-01-14 23:40:38 +0000
committerbillf <billf@FreeBSD.org>2000-01-14 23:40:38 +0000
commitca5b31783682c84574148cdb9c211cebbb006c11 (patch)
treeb15cbe7ebb609e71c8dae8dac606dadd6e579948 /sbin/ping/ping.8
parent8fe9ae191dfd796ac7c7441e8d2dbb91c556beb7 (diff)
downloadFreeBSD-src-ca5b31783682c84574148cdb9c211cebbb006c11.zip
FreeBSD-src-ca5b31783682c84574148cdb9c211cebbb006c11.tar.gz
Add '-t X' which times out after pinging for X seconds.
Submitted by: adrian
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.83
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index fca80ac..813381c 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -219,6 +219,9 @@ force the source address to be something other than the IP address
of the interface the probe packet is sent on. If the IP address
is not one of this machine's interface addresses, an error is
returned and nothing is sent.
+.It Fl t Ar timeout
+Specify a timeout, in seconds, before ping exits regardless of how
+many packets have been recieved.
.It Fl T Ar ttl
Set the IP Time To Live for multicasted packets.
This flag only applies if the ping destination is a multicast address.
OpenPOWER on IntegriCloud