From owner-freebsd-hackers Wed Apr 9 11:04:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA05145 for hackers-outgoing; Wed, 9 Apr 1997 11:04:08 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA05116 for ; Wed, 9 Apr 1997 11:04:00 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id LAA25889; Wed, 9 Apr 1997 11:03:15 -0700 (PDT) Message-ID: <19970409110315.50432@hydrogen.nike.efn.org> Date: Wed, 9 Apr 1997 11:03:15 -0700 From: John-Mark Gurney To: Peter Wemm Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: new ping option References: <860593860.311485@haywire.DIALix.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <860593860.311485@haywire.DIALix.COM>; from Peter Wemm on Wed, Apr 09, 1997 at 01:51:00PM +0000 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm scribbled this message on Apr 9: > Well, how would the semantics work? Send a single ping, wait for a maximum > of 'n' seconds and return a status? There is a program called fping (now > a port) that already does this, and can do multiple machines at once. heh.. you don't need an program other than ping to do that... see: hydrogen,ttyp0,~/term.code,614$ping -c 1 -i 1 dad PING dad.nike.efn.org (192.168.0.4): 56 data bytes --- dad.nike.efn.org ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss hydrogen,ttyp0,~/term.code,615$echo $? 2 hydrogen,ttyp0,~/term.code,617$ping -c 1 -i 1 sob PING sob.nike.efn.org (192.168.0.2): 56 data bytes 64 bytes from 192.168.0.2: icmp_seq=0 ttl=255 time=2.450 ms --- sob.nike.efn.org ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 2.450/2.450/2.450 ms hydrogen,ttyp0,~/term.code,618$echo $? 0 -- John-Mark Cu Networking Modem/FAX: +1 541 683 6954 Live in Peace, destroy Micro$oft, support free software, run FreeBSD