Comments (5)
Could you provide before and after upgrade output examples?
The difference may have something to do with the default locale actually working now where as previously it always defaulted to "C" unless "Locale" had been changed in the configuration file or --locale parameter used.
from vnstat.
Yes you might be right. Previously it would output which, looking at it now, is also just a bunch of unreadable numbers. Since the upgrade the thousands-seperator was added; resulting in:
01 52,124,640 42,572,404 09 74,829,409 62,792,939 17 24,508,501 63,374,345
If I could suggest a feature I'd like this to be configurable so I can change it to MiB or GiB
from vnstat.
Ok, now I understand the problem. There's indeed a readability issue once you get 10 GiB+ per hour and that's something I haven't tested with any of the outputs. I'll have to implement automatic unit selection also to the hourly output to get this properly solved. The other outputs should be fine up 10 TiB per time period.
The good news is that you can get the old behaviour back simply by changing the configuration from the default
Locale "-"
to
Locale "C"
from vnstat.
Yes, you're right. Thanks! If the output could also be updated to address the readability for the hourly output that would be great.
from vnstat.
Depends what I can come up with. Trying to fit everything into a 80x24 character terminal does somewhat restrict what can be shown and how.
from vnstat.
Related Issues (20)
- Is vnstati based on other charting software ? If so, which one ? HOT 1
- BUILD FAIL: configure cannot guess build type HOT 1
- Wrong date if you want to track the daily use HOT 5
- Pfsense retention HOT 1
- vnstat: no longer works after databases/sqlite3 disabled DQS HOT 2
- Database size growing at alarming rate. Best ways to curb it? HOT 18
- Vnstat virtual interface not appearing HOT 7
- New VLANs not discovered HOT 2
- 95th percentile bandwidth calculation HOT 18
- wrong stat data for some interface HOT 17
- Calculate Traffic when vnstat stopped! HOT 4
- how to recover the database when i modify the time and updae the database force HOT 2
- How to install latest version? HOT 6
- Publish to snap store HOT 7
- vnstat measures file sharing from one device to another as transmission HOT 3
- How to install vnstat 2.9+ on Debian Bookworm. HOT 4
- Wireguard interface disabled, can't enable HOT 3
- Reset db in version 2 HOT 2
- do not exit with non-zero exit code when using `--alert` flag and `Failed to open database "/var/lib/vnstat/vnstat.db" in read-only mode.` throws HOT 5
- Accessing Vnstat figures HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vnstat.