Page MenuHomeSolus

Update vnstat to 2.2
ClosedPublic

Authored by kyrios123 on Apr 28 2019, 6:12 PM.
Tags
None
Referenced Files
F11017460: D6141.diff
Sun, Aug 6, 2:27 AM
F11013826: D6141.diff
Fri, Aug 4, 5:41 PM
F10793647: D6141.id14811.diff
May 27 2023, 12:27 PM
F10789068: D6141.id.diff
May 26 2023, 6:18 PM
F10788610: D6141.id14786.diff
May 26 2023, 4:50 PM
Subscribers
None

Details

Summary
  • Fixed
    • O_CLOEXEC undeclared error when compiling with glibc older than 2.12
    • Image output --headertext wasn't being applied to some output types
    • DefaultDecimals setting wasn't controlling all outputs
    • Traffic rate for the last entry of the 5 minute resolution list wasn't being correctly calculated
  • New
    • Detection of 32-bit / 64-bit kernel interface counters for improving traffic calculations in rollover situations, cfg: 64bitInterfaceCounters
    • Possibility in queries to merge data from multiple interfaces to one output with interface1+interface2 syntax
    • Highlight current day in top list when visible
    • Changes in interface specific detected bandwidth limits are reported in the log
    • UpdateInterval value is automatically adjusted during daemon startup if found to be too high compared to the value of MaxBandwidth
  • Notes
    • Added clarification to the man page that the 'jsonversion' and 'xmlversion' fields in the --json and --xml outputs should be seen as the API version and compared to the previously used version in 3rd party implementations for verifying compatibility
    • Default value of UpdateInterval is now 20 instead of previous 30 seconds

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • Run sudo vstatd -n in terminal one, wait 5 minutes
  • Run vstat -oneline and vstat -5 in terminal two

Diff Detail

Repository
R3141 vnstat
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 29 2019, 11:15 AM
This revision was automatically updated to reflect the committed changes.