summaryrefslogtreecommitdiff
path: root/net/fping/files/patch-03
blob: 71d85b17b533f47d357402e3f1e79d73d49e333d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
--- fping.8.orig	Mon Jan 21 01:05:48 2002
+++ fping.8	Sun Jul  7 22:03:43 2002
@@ -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
@@ -107,7 +107,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 target (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.
@@ -117,7 +117,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.
@@ -131,7 +131,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
@@ -152,12 +152,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");
 
@@ -178,7 +178,7 @@
 that are currently reachable.
 .nf
 
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 $hosts_to_backup = `cat /etc/hosts.backup | fping -a`;