Commit Graph

60 Commits (2f2ff0bd2c38c911cfe659bd65dc494e8dd0bc2b)

Author SHA1 Message Date
Erik Auerswald 90ad83fbd0 Print cumulative stats with -Q SECS,cumulative
With -Q SECS, fping emits information for the just finished
interval.  This is good for long-running fping processes where
one would like to get an update on recent results, ignoring
missing responses from older intervals.  This seems appropriate
for use with other software like netdata or smokeping.

But for short(er)-running fping processes, e.g., during a change
window, it may be more interesting to get a status update since
the beginning of the change window, i.e., the start of fping.
Adding a comma followed by the keyword "cumulative" to -Q SECS
(i.e., -Q SECS,cumulative) changes the interim reports to output
the current per system overall statistics, unless -N is used, too.

The new syntax is documented in fping.pod and added to fping -h
output.

Four tests are added:

  1. Characters after SECS are ignored as before.
  2. Unknown keywords are ignored as before.
  2. Adding ",cumulative" changes -Q output.
  3. Adding ",cumulative" also affects the additional -o output.

This addresses issue #243.
8 months ago
Erik Auerswald ae0bc23804 Document that -c N overrides -a or -u 10 months ago
Erik Auerswald e4bae43d66 Update exit status description in man page
With the options -x and -X, fping does not require all hosts to
be reachable for an exit status of 0.

This addresses a comment in issue #99 suggesting such a man page
update.
11 months ago
deepkv c8e9632150 Add --fwmark/-k option for Linux 12 months ago
ilyam8 16108c4fa7 remove www 1 year ago
ilyam8 d95370cbb0 update netdata link 1 year ago
Vincent OLLIVIER 86dedacbe7 Updating documentation regarding root requirements since for --file parameter 1 year ago
German Service Network d45438c723 fping: add option to exit immeditely once N hosts have been found 1 year ago
Erik Auerswald 36b652b358 Improve -Q documentation
The `-Q, --squiet=SECS` option does not replace the summary
statistics of `-q, --quiets`, but adds interval summary
statistics every SECS seconds to the output.
3 years ago
Erik Auerswald 1452bf362e Improve -d and -n documentation
* Adjust `fping.pod` entries for `-d, --rdns` and `-n, --name`:

  * The code performs reverse DNS lookups on the given targets,
    not on source addresses from ICMP Echo Responses or ICMP
    error messages.  Adjust the `-d` description to reflect this.

  * The sentence describing `-n` seems incomplete, so provide a
    completion in similar spirit to `-d`.

* Add `-d, --rdns` to `-h, --help` output since `-d` and `-n` are
  no longer equivalent.
3 years ago
Patrick Ladd e064c36df8 Add SIGQUIT summary support similar to ping
This reverts commit 3b3877f651af816006ab620f7a189c2c1a3fad8a.
5 years ago
Bernd Arnold 4125a1922c Corrected long option name of -s to --stats
The option --src is an alias for the uppercase -S.

Stumbled upon this in the man page.

When running "fping -h", the option is printed correctly:
$ -s, --stats        print final stats
6 years ago
David Schweikert 69f11b104d rename --min_reachable again to --reachable, and update changelog 6 years ago
deepak0004 03d821e983 Removing flag variable and its dependencies, printing required and reachable hosts, and changing initialisation of min_reachable 6 years ago
deepak0004 7338b4b859 Adding -x option which allows user to specify a threshold and check if atleast those many hosts are active 6 years ago
Wisdom Omuya e156b08ab6 fix typo: quet -> quiet 8 years ago
David Schweikert 0d8f704f20 add new changelog files to dist 8 years ago
David Schweikert ef0ab382d0 New changelog format 8 years ago
David Schweikert cbfdcb40ff -i/-p restrictions only enforced with ./configure --enable-safe-limits, change -i default from 25 to 10 8 years ago
David Schweikert 7592cc2a19 discard late packets, auto-adjust timeout for -c/-C/-l, fixes #32 8 years ago
David Schweikert 2ff3352f96 pod syntax 8 years ago
David Schweikert 71a6e4deef spacing fixes 8 years ago
David Schweikert 1b02b0fae8 sort options, remove whitespace 8 years ago
David Schweikert d18ad321de long options, better example 8 years ago
David Schweikert 9be8d6cb5d remove references to fping6 8 years ago
David Schweikert 9787dd0136 sync with develop 8 years ago
David Schweikert 35d52d0b30 Fix option -m to return all IPs of a hostname 8 years ago
David Schweikert 98269fb83e unification work 8 years ago
David Schweikert 8481d7432a simplify restrictions, fixes #29, #32 8 years ago
David Schweikert 178d07ddc0 document -N in documentation and implement small fixes in test suite for macOS 8 years ago
David Schweikert 7c7e007502 - (bugfix) Lower -i limit to 1 instead of 10
- (bugfix) Improve interval preciseness of -Q reporting
8 years ago
David Schweikert 6d12dfbbcc Add option -o for accumulated outage time (#90) 8 years ago
David Schweikert 814c852da6 New option '-M' to set the 'Don't Fragment' flag (#91, Don Bowman) 8 years ago
David Schweikert 0706f68bdf Merge pull request #72 from derobert/develop
Add a mode to use random bytes instead of NULLs.
10 years ago
Ryan Underwood f6c3cbdf64 Add 1ms usage example 10 years ago
Anthony DeRobertis b72256a8fc Add a mode to use random bytes instead of NULLs.
This helps defeat data compression on links.
10 years ago
aseques 9c3133fead Update the docs to make the option visible 11 years ago
David Schweikert 609f4f17c4 Better document -B backoff-factor and when it can be used (#33, Oleksiy Zagorskyi), fixes #33 11 years ago
David Schweikert c1fe95f7b7 more tests 11 years ago
David Schweikert 5d6db6f08d document new -D flag 12 years ago
David Schweikert 10d0a54c07 remove version information from man-page (#31) 12 years ago
David Schweikert a4ef8142b3 Update documentation for --enable-ipv6 13 years ago
David Schweikert 13ce2eae48 Man-page fix: better description of option -q (#15) 13 years ago
David Schweikert 5f3ab12ca9 man page inconsistency in regards to numeric arguments (#21) 13 years ago
David Schweikert 4a5c82f6a5 start calling this 3.3rc1 13 years ago
David Schweikert 7d4eeb403a convert man-page to pod, for easier editing 13 years ago
David Schweikert 88d54f4505 convert man-page to pod, for easier editing 13 years ago
Thomas Liske 2f09ff2d40 Fix TOS option typo. 13 years ago
David Schweikert 967266168d remove generated files 13 years ago
David Schweikert 293a632056 improve documentation for -g option (G.W. Haywood) 13 years ago