Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 1997 11:03:15 -0700
From:      John-Mark Gurney <jmg@hydrogen.nike.efn.org>
To:        Peter Wemm <peter@spinner.DIALix.COM>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: new ping option
Message-ID:  <19970409110315.50432@hydrogen.nike.efn.org>
In-Reply-To: <860593860.311485@haywire.DIALix.COM>; from Peter Wemm on Wed, Apr 09, 1997 at 01:51:00PM %2B0000
References:  <Pine.BSF.3.96.970408210837.303B-100000@jg.dyn.ml.org> <860593860.311485@haywire.DIALix.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970409110315.50432>