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
|
--- fping-2.4b2-to-ipv6.orig/fping.8
+++ fping-2.4b2-to-ipv6/fping.8
@@ -1,4 +1,4 @@
-.TH fping l
+.TH fping 8
.SH NAME
fping \- send ICMP ECHO_REQUEST packets to network hosts
.SH SYNOPSIS
@@ -12,9 +12,9 @@
.B fping
-is a
-.MS ping 8
-like program which uses the Internet Control
+is a program like
+.B ping(8)
+which uses the Internet Control
Message Protocol (ICMP) echo request to determine if a target host is
responding.
.B fping
@@ -37,8 +37,7 @@
).
.PP
Unlike
-.B ping
-,
+.B ping,
.B fping
is meant to be used in scripts, so its output is designed to be
easy to parse.
@@ -130,12 +129,16 @@
a target will be made, not including the first try.
.IP \fB-s\fR 5
Print cumulative statistics upon exit.
+.IP \fB-S\fIaddr\fR 5
+Set source address.
.IP \fB-t\fIn\fR 5
Initial target timeout in milliseconds (default 500). In the default
mode, this is the amount of time that
.B fping
waits for a response to its first request. Successive timeouts are
multiplied by the backoff factor.
+.IP \fB-T\fIn\fR 5
+Select timeout in seconds (default 10).
.IP \fB-u\fR 5
Show targets that are unreachable.
.IP \fB-v\fR 5
@@ -152,7 +155,7 @@
example none the less.
.nf
-#!/usr/local/bin/perl
+#!/usr/bin/perl
require 'open2.pl';
$MAILTO = "root";
@@ -178,7 +181,7 @@
that are currently reachable.
.nf
-#!/usr/local/bin/perl
+#!/usr/bin/perl
$hosts_to_backup = `cat /etc/hosts.backup | fping -a`;
|