On 18/12/2011 08:48, Bogdan-Stefan Rotariu wrote:
> 1s e default
>
>          -i interval
>                 Wait  interval seconds between sending each packet.  The
> default
>                 is to wait for one second between each packet normally,
> or  not
>                 to  wait in flood mode. Only super-user may set interval
> to val-
>                 ues less 0.2 seconds.
>
>
> -i 0.0 ce zice ?

Stiu ca e 1s default, voiam doar sa arat concret situatia. Alte exemple 
mai jos, para sa inmulteasca cu 10 timpii din creierul lui:

=======================================================================
# ping -n -c3 -i0.0 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.025 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.014 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.014/0.026/0.040/0.011 ms, ipg/ewma 0.144/0.035 ms
=======================================================================
# ping -n -c3 -i0.1 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.027 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2102ms
rtt min/avg/max/mdev = 0.027/0.041/0.057/0.013 ms
=======================================================================
# ping -n -c3 -i0.2 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.030 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4205ms
rtt min/avg/max/mdev = 0.030/0.039/0.047/0.007 ms
=======================================================================

--
Catalin Bucur      mailto:[email protected]
NOC @ Genius Network SRL - Galati - Romania
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui