bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] up to date inetutils


From: Andy Furniss
Subject: Re: [bug-inetutils] up to date inetutils
Date: Fri, 29 Jul 2005 18:24:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050716

Sergey Poznyakoff wrote:
Andy Furniss <address@hidden> wrote:


Thanks.

It fixes it for -i >=1 but -i <1 still gives invalid interval.


Interval should be an unsigned integer number. 0 interval is
is not allowed.

I want <1 not 0 but unsigned int would explain it, I asked if anyone else had a ping that did -i <1 >0 and it seems there is one out there - distro specific I suppose. From a mail I just received -

# ping -i 0.5 127.0.0.1 -c 10
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.063 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.066 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.063 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.053 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.064 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.062 ms

--- 127.0.0.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 4553ms
rtt min/avg/max/mdev = 0.053/0.061/0.066/0.006 ms, pipe 2


# tethereal icmp[0] == 8 and ip proto 1 -i lo
Capturing on lo
  0.000000    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  0.510342    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  1.010297    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  1.521217    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  2.021163    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  2.532090    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  3.032023    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  3.542945    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  4.053885    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request
  4.553827    127.0.0.1 -> 127.0.0.1    ICMP Echo (ping) request


It generates packets every 0.5 sec.

Andy.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]