[c-nsp] Ping Script

Shimol Shah shimshah at cisco.com
Mon Aug 2 10:45:12 EDT 2010


Why not reduce the repeat count and timeout. Something like below.

=-=-=-=-=-=-=-=-=-=-=-=-=-

tclsh

foreach address {

x.x.x.x
y.y.y.y
z.z.z.z

} { ping $address rep 2 timeout 1 }

=-=-=-=-=-=-=-=-=-=-=-=-=-


Shimol



On 8/2/10 10:21 AM, Mohammad Khalil wrote:
>
> hi all
>
> i want to ping several hosts at the same time
> if i use tclsh scripting i will be waiting for each ping session to finish
> what other ways i have to do ?
>   		 	   		
> _______________________________________________
> 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