"Fossies" - the Fresh Open Source Software Archive

Member "vnstat-2.9/FAQ" (6 Jun 2020, 2627 Bytes) of package /linux/misc/vnstat-2.9.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "FAQ": 2.6_vs_2.7.

    1 The latest version of this FAQ is available at
    2 
    3    https://humdi.net/vnstat/FAQ
    4 
    5 
    6 
    7 ----
    8 
    9 
   10 A snapshot of the FAQ (updated 13.4.2019):
   11 
   12 
   13 I managed to get invalid data into the database after ... playing around with
   14 the system clock / doing some strange network experiments / having the cron
   15 entry not properly configured. Is there a database editor available?
   16 
   17   Nothing vnStat specific is available. The sqlite3 command can be used to
   18   read and modify the database.
   19 
   20 
   21 How do I stop monitoring an interface?
   22 
   23   Execute "vnstat --remove -i interfacename" with correct permissions.
   24 
   25 
   26 How do I uninstall vnStat?
   27 
   28   You only need to run 'make uninstall' in the directory that comes when the
   29   .tar.gz is extracted. Just make sure it's the same version you have
   30   installed. If you've used a binary package included with the distribution
   31   then refer to instructions provided by the package manager.
   32 
   33 
   34 What is this KiB/MiB/GiB/TiB thing?
   35 
   36   See http://en.wikipedia.org/wiki/Binary_prefix#Prefixes and UnitMode
   37   option in the configuration file.
   38 
   39 
   40 Is the MB value reported by vnStat 10^6 or 2^20 bytes?
   41 
   42   2^20 bytes. The prefix can be configured to show MiB from the configuration
   43   file instead of MB if that looks better.
   44 
   45 
   46 What does the 'estimated' value mean?
   47 
   48   The estimated value is an calculated average that tries to predict the total
   49   traffic for the current day/month based on previous traffic. This estimate
   50   works fairly well if the monitored interface has constant traffic of the same
   51   magnitude (like game servers). It can't predic peaks but the accuracy
   52   usually gets better by the end of the day/month.
   53 
   54 
   55 Why isn't the estimated value shown with --json or xml outputs?
   56 
   57   Those features only dump the database and since the estimate is always
   58   calculated in real time, there's no reason to write it into the database.
   59 
   60 
   61 How is the estimated value calculated?
   62 
   63   estimate = ( x / y ) * z
   64 
   65     x = traffic so far for the day/month
   66     y = passed minutes/hours ...
   67     z = total minutes/hours ...
   68 
   69 
   70 About bug reports
   71 
   72   If the latest version isn't being used then test if the issue can still
   73   be replicated with the latest or latest development version. If the issue
   74   can still be reproduced, check if there's already an issue open in GitHub.
   75   If not then using https://github.com/vergoh/vnstat/issues for reporting new
   76   issues is suggested. Any bug report should at least include an explanation
   77   about how the bug can be reproduced. Also include information about the used
   78   distribution, kernel (uname -a), compiler (gcc --version) and network
   79   interface card. Read the report again before sending it. :)