[c-nsp] Scripting Multiple Pings?

Network Fortius netfortius at gmail.com
Fri Jul 29 07:28:23 EDT 2005


http://www.fping.com/

$ sudo fping -f <file_with_hosts>
or
$ fping < <file_with_hosts>

see:

$ man fping

HTH,
Stef

On Jul 28, 2005, at 9:32 PM, Austin McKinley wrote:

> I'd like to have a text file, full of commands like:
>
> ping 1.1.1.1
> ping 2.2.2.2
> ...
> ...
> ...
>
> and so on. Then I could test connectivity to all the interfaces I'm
> concerned about by pasting this text file, and looking at the results.
> The problem is that only the first ping runs, because the others  
> all get
> thrown to the command line while the first ping runs. Anyone know a  
> way
> around this behavior, without using expect/perl?
>
> Austin
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>



More information about the cisco-nsp mailing list