New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The minimum values in -Q summaries are always 0 #74
Comments
Rather strange - could this be a compiler issue (bug) ? I cannot reproduce this problem. Also, looking at fping.c, all the variables for the minimum value calculation are initialized and set correctly.. |
Thank you for looking into this. I have several older different Linux distributions that run old versions of fping and show this 0 minimum quirk. The latest fping version I could find that doesn't work was 3.0. However, I just tried again on my fully updated Fedora 21 (fping 3.1) and there it seems to work fine. So whatever it was, it seems to have been fixed. The way I just tested it again on different systems: echo -e "8.8.8.8\n8.8.4.4" | fping -A -u -l -p200 -Q1 Thank you! |
Right, I was testing the latest (3.10). But indeed it looks like there was a bug in 3.0 that was fixed in some subsequent release: 3.0 version setting of minimum ping: was changed to this in some later revision: So that fixes it :) |
Cool. Classical bug :) Thank you for following up on this. Good to know that it's fixed now, this Jannes On 18 May 2015 at 16:20, Pawel Defée notifications@github.com wrote:
|
Thank you for the analysis. I close the issue then. |
I use a script to pipe the output of fping (almost) straight into rrdtool. This works great, except that the min value is always 0.
The alternative way is to let fping quit every second and use that summary, which does include the correct minimum:
The first solution seems much nicer to me: not starting new processes every second and letting fping handle all the timing related issues.
The text was updated successfully, but these errors were encountered: