Thanks I will have a look at fping.  I need to set-up a script for testing
purposes.  To be practical I need the script to read a file of hosts


david

On Fri, 22 Dec 2000, Hal Burgiss wrote:

> On Fri, Dec 22, 2000 at 12:19:49PM -0500, rpjday wrote:
> > On Fri, 22 Dec 2000, David Brett wrote:
> > 
> > > I am trying to pipe to ping without success.
> > >
> > > awk '{print$1} testfiles | ping -nc 1
> > >
> > > testfile is
> > >
> > > 10.1.1.1  server1
> > > 10.1.1.2  server2
> > >
> > > Any ideas why I can't pipe to ping?
> > 
> > perhaps because, according to ping, it doesn't accept hostnames
> > on standard input.  also, it doesn't *appear* to accept multiple
> > arguments.
> 
> You might look at fping. IIRC, it can read a lists of host from a
> file. Not sure what your end game is, but fping does certain things
> that are much more scriptable than std ping.
> 
> -- 
> Hal B
>  [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
> --
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to