1830730 Members
2308 Online
110015 Solutions
New Discussion

ping intervals

 
himacs
Super Advisor

ping intervals

Hi all,

I want get ping output with time intervals.

For eg:
in hp-ux
64 bytes from 10.11.7.140: icmp_seq=324. time=0. ms
timr shows in 0.

but in windows
Reply from 192.168.203.170: bytes=32 time=156ms TTL=244
Reply from 192.168.203.170: bytes=32 time=156ms TTL=244
time show 156ms.

Please anybody help me on this.

Regards,
himacs
10 REPLIES 10
James R. Ferguson
Acclaimed Contributor

Re: ping intervals

Hi:

...another good reason not to use Windows :-)

Seriously, you don't show the route from/to. You could do a 'traceroute' for example.

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: ping intervals

Your ping is probably faster than my ping

Reply from 1.2.3.4: bytes=32 time=358ms TTL=244

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
himacs
Super Advisor

Re: ping intervals

Hi ,

i want ping output with time delay
for examole time=156ms
but m not getting desired output when i ping in hpux
it shows 0ms
its bit urgent
please help me

regards,
Pavan
Torsten.
Acclaimed Contributor

Re: ping intervals

Ooops, cut'n'paste problem:

64 bytes from 1.2.3.4: icmp_seq=0. time=17. ms


but faster

64 bytes from 127.0.0.1: icmp_seq=1. time=0. ms

and on windows:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: ping intervals

To say it more clearly, if time is <1ms then you see 0ms.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
himacs
Super Advisor

Re: ping intervals

Hi Torsten,

thanks for ur reply..

M also wondering why it shows in 0.ms
really its very fast..


is there any arguments,we can use with ping to get a clear output?


regards
himacs
OldSchool
Honored Contributor

Re: ping intervals

the output is what it is. as torsen stated, sub-millisecond times report as "0". What more do you want?

ping is, after all, a very simple tool used to verify network connectivity, and not necessarly identify bottlenecks and such.

what are you attempting to use it for that the existing results are not acceptable?

Torsten.
Acclaimed Contributor

Re: ping intervals

Basically hp-ux and windows are telling the same; 0.x ms or < 1ms.

What's the problem? Too fast?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
himacs
Super Advisor

Re: ping intervals

hi,

it shows result in 0. ms. so i thought some problem there.

regards,
himacs
Torsten.
Acclaimed Contributor

Re: ping intervals

Congratulations, you have a fast network!

BTW, sometimes I hate this colorful OS on my PC that can't be used without a mouse, but a few commands are quite nice.

Did you ever try

C:\> pathping

C:\> pathping /?

Usage: pathping [-g host-list] [-h maximum_hops] [-i address] [-n]
[-p period] [-q num_queries] [-w timeout] [-P] [-R] [-T]
[-4] [-6] target_name

Options:
-g host-list Loose source route along host-list.
-h maximum_hops Maximum number of hops to search for target.
-i address Use the specified source address.
-n Do not resolve addresses to hostnames.
-p period Wait period milliseconds between pings.
-q num_queries Number of queries per hop.
-w timeout Wait timeout milliseconds for each reply.
-P Test for RSVP PATH connectivity.
-R Test if each hop is RSVP aware.
-T Test connectivity to each hop with Layer-2 priority tags.
-4 Force using IPv4.
-6 Force using IPv6.


Have fun!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!