in reply to Re^3: RRD-Ping getting values on right interval
in thread RRD-Ping getting values on right interval

You can substitute that with normal waitpid.That should work i guess.I didnt quite get how did you arrive at the value of '20'. Thanks
  • Comment on Re^4: RRD-Ping getting values on right interval

Replies are listed 'Best First'.
Re^5: RRD-Ping getting values on right interval
by ww (Archbishop) on Nov 30, 2011 at 14:04 UTC
    20 iterations * 25 milisec/iteration = 500 milisecs or 0.5 seconds

    Actually, the sum of your RTs is 23 milisec, but that's close enough for this explanation, as is the WAG that -w 15 will net (roughly) a thruput of 20 iterations.