--- 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`;