head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 FreeBSD-current-2000-05-19:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.4 date 2003.03.24.15.14.34; author bouyer; state dead; branches; next 1.3; 1.3 date 2002.02.18.18.40.42; author abs; state Exp; branches; next 1.2; 1.2 date 2001.08.23.17.15.15; author abs; state Exp; branches; next 1.1; 1.1 date 2000.05.19.10.20.36; author abs; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.05.19.10.20.36; author abs; state Exp; branches; next ; desc @@ 1.4 log @Upgrade to 2.4b2. Lots of change since 1.20, but it should be backward-compatible. 2.0 was a substential rewrite. Main changes: support some traditional ping features: loop mode, specify size of data packets, specify how many pings to send, interpret ICMPs other than ICMP Echo response. make timings in tenths of milliseconds do exponential backoff on retries port to more systems do better checking on whether received ICMP is for us added -g option for generating IPs from a start to an end value @ text @$NetBSD: patch-ac,v 1.3 2002/02/18 18:40:42 abs Exp $ --- fping.man.orig Mon Feb 18 18:37:42 2002 +++ fping.man @@@@ -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/pkg/bin/perl require 'open2.pl'; $MAILTO = "root"; -$pid = &open2("OUTPUT","INPUT","/usr/local/bin/fping -u"); +$pid = &open2("OUTPUT","INPUT","/usr/pkg/sbin/fping -u"); @@check=("slapshot","foo","foobar"); @@@@ -96,7 +96,7 @@@@ that are currently reachable. .nf -#!/usr/local/bin/perl +#!/usr/pkg/bin/perl $hosts_to_backup = `cat /etc/hosts.backup | fping -a`; @ 1.3 log @Updated fping to 1.20nb1 When on an alpha you cannot be lazy and assume -1 matches INADDR_NONE Now mono.org's new alpha can run rconfig... This should make norm happy. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Fix for Linux @ text @d3 1 a3 1 --- fping.man.orig Thu Aug 23 18:10:14 2001 @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- fping.man.orig Sat Jan 22 15:46:58 2000 +++ fping.man Sat Jan 22 15:47:38 2000 @ 1.1.1.1 log @fping 1.20 - Quickly ping many hosts w/o flooding the network @ text @@