1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net/fping/files/patch-03
2000-08-27 03:23:48 +00:00

69 lines
2.0 KiB
Plaintext

--- fping.8.orig Wed Jan 8 10:48:49 1997
+++ fping.8 Sat Aug 26 19:51:19 2000
@@ -1,4 +1,4 @@
-.TH fping l
+.TH fping 8
.SH NAME
fping \- send ICMP ECHO_REQUEST packets to network hosts
.SH SYNOPSIS
@@ -79,7 +79,7 @@
somehost : 91.7 37.0 29.2 - 36.8
-shows the response time in milliseconds for each of the five requests,
+shows the response time in microseconds for each of the five requests,
with the "-" indicating that no response was received to the fourth
request.
.IP \fB-d\fR 5
@@ -96,7 +96,7 @@
.IP \fB-h\fR 5
Print usage message.
.IP \fB-i\fIn\fR 5
-The minimum amount of time (in milliseconds) between sending a ping packet to any target (default is 25).
+ The minimum amount of time (in microseconds) between sending a ping packet to any host (default is 25).
.IP \fB-l\fR 5
Loop sending packets to each target indefinitely. Can be interrupted
with ctl-C; statistics about responses for each target are then displayed.
@@ -106,7 +106,7 @@
Same as -d.
.IP \fB-p\fR 5
In looping or counting modes (-l, -c, or -C), this parameter sets the
-time in milliseconds that
+time in microseconds that
.B fping
waits between successive packets to an individual target. Default is
1000.
@@ -120,7 +120,7 @@
.IP \fB-s\fR 5
Print cumulative statistics upon exit.
.IP \fB-t\fIn\fR 5
-Initial target timeout in milliseconds (default 500). In the default
+Initial target timeout in microseconds (default 2500). In the default
mode, this is the amount of time that
.B fping
waits for a response to its first request. Successive timeouts are
@@ -141,12 +141,12 @@
example none the less.
.nf
-#!/usr/local/bin/perl
+#!/usr/bin/perl
require 'open2.pl';
$MAILTO = "root";
-$pid = &open2("OUTPUT","INPUT","/usr/local/bin/fping -u");
+$pid = &open2("OUTPUT","INPUT","/usr/local/sbin/fping -u");
@check=("slapshot","foo","foobar");
@@ -167,7 +167,7 @@
that are currently reachable.
.nf
-#!/usr/local/bin/perl
+#!/usr/bin/perl
$hosts_to_backup = `cat /etc/hosts.backup | fping -a`;