in fping package there is a -q swith that according a manpage " -q Quiet. Don't show per-target results, just set final exit status " and " -C Similar to -c, but the per-target statistics are displayed in a format designed for automated response-time statistics gathering. For example: % fping -C 5 -q somehost somehost : 91.7 37.0 29.2 - 36.8 with is nice good parsable result.. But using -C something -q switches actually does not produce results as expected. " somehost : 91.7 37.0 29.2 - 36.8" is returned to STDERR but not stdout. And if You catch stderr for other parsing, results are mixed with ICMP errors, espercially if you use list of IP from file (-f option) and that file have a number os deadh IPs . I think there should be another swith working like -q -ie suppress per ping and per host statistic, giving only a result " somehost : 91.7 37.0 29.2 - 36.8" and in STDIN Hope my enghlish is underestable Reproducible: Always Steps to Reproduce: 1. fping -C 5 -q -f /path/what_to_ping 2. 3. Actual Results: no output to STDOUT STDERR contains mix of ICMP error responses and expexted results ICMP Host Unreachable from xxxx . . ICMP Redirect from xxxxxxxx x.x.x.x : 11.2 15.0 18.2 - 24.0 . . somehost : 91.7 37.0 29.2 76.1 36.8 Expected Results: in STDOUT: x.x.x.x : 11.2 15.0 18.2 - 24.0 . . somehost : 91.7 37.0 29.2 76.1 36.8
Please post your `emerge -vpq net-analyzer/fping' output in a comment.
Please bring up this issue upstream.