1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/fping/files/patch-03
David E. O'Brien 7ed9e8ca06 Times are in microseconds, not milliseconds.
Submitted by:	Igor Timkin <ivt@gamma.ru>
2000-01-22 23:54:15 +00:00

53 lines
1.5 KiB
Plaintext

--- fping.man.orig Sat Jan 22 15:46:58 2000
+++ fping.man Sat Jan 22 15:47:38 2000
@@ -1,4 +1,4 @@
-.TH fping l
+.TH fping 8
.SH NAME
fping \- send ICMP ECHO_REQUEST packets to network hosts
.SH SYNOPSIS
@@ -45,7 +45,7 @@
.IP \fB-f\fR 5
Read list of system from a file.
.IP \fB-i\fIn\fR 5
-The minimum amount of time (in milliseconds) between sending a ping packet to any host (default is 25).
+The minimum amount of time (in microseconds) between sending a ping packet to any host (default is 25).
.IP \fB-q\fR 5
Quiet. Don't show per host results, just set final exit status.
.IP \fB-r\fIn\fR 5
@@ -54,8 +54,8 @@
.IP \fB-s\fR 5
Dump final statistics.
.IP \fB-t\fIn\fR 5
-Individual host timeout in milliseconds (default 2500). This is the
-minimum number of milliseconds between ping packets directed towards a given
+Individual host timeout in microseconds (default 2500). This is the
+minimum number of microseconds between ping packets directed towards a given
host.
.IP \fB-u\fR 5
Show systems that are unreachable.
@@ -70,12 +70,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");
@@ -96,7 +96,7 @@
that are currently reachable.
.nf
-#!/usr/local/bin/perl
+#!/usr/bin/perl
$hosts_to_backup = `cat /etc/hosts.backup | fping -a`;