Questions tagged [vnstat]

30 questions
25
votes
12 answers

vnstat not updating

I installed vnstat on my Ubuntu 14.04 server to track my internet usage (I have a limited monthly transfer). The database never updates, however. I've tried uninstalling/reinstalling, but that doesn't work. What do I need to do to get vnstat to…
vaindil
  • 956
10
votes
2 answers

Is it possible to set on-peak and off-peak hours in vnstat for monitoring bandwidth?

I have recently downloaded vnstat to monitor my Internet bandwidth usage. I have a limited data plan but my ISP provides unmetered bandwidth during off-peak hours (2:00 AM to 8:00 AM). So, I would like vnstat to report the data usage categorizing…
Aditya
  • 13,626
5
votes
4 answers

Error: Unable to read database "/var/lib/vnstat/eth0": No such file or directory

I am using vnstat for first time and I am getting this error while using vnstat -d Error: Unable to read database "/var/lib/vnstat/eth0": No such file or directory The file in /var/lib/vnstat are enp1s0 wlp2s0 These are my network interfaces. I can…
Prvt_Yadav
  • 464
  • 8
  • 18
3
votes
0 answers

Vnstat showing large amount of traffic

I am using lubuntu 16.04, and have vnstat to monitor my traffic, since in our students home we have a limit of 30Gb per month. Everything was fine with the program till yesterday when I tried upgrading the data base several time, and it did not…
2
votes
1 answer

Monitor network usage during a specific time range within the day and generate report on monthly usage when needed

I want to monitor my internet usage via WiFi during a specific time period within the day (ex: from 8AM to 6PM) and get how much data I have used during the current month in a report when needed. Is there a way to to do this using vnstat or any…
SW_92
  • 21
2
votes
1 answer

vnstat: how do the --begin and --end options work?

I have a metered internet connection that resets on the 17th of each month. I'm using vnstat to monitor my bandwith. I just installed it from the repo. I'd like it to show me how much I have used from the 17th on but I can't get it to work. This is…
2
votes
2 answers

vnstat - combine WiFi and Ethernet usage together

My laptop has two network interfaces enp59s0 and wlp60s0 . Historically I've always used the Ethernet card (enp59s0) so using vnstat to get network consumption for today, yesterday, current week and current month has never been an issue with me.…
2
votes
2 answers

Get network usage from specific date on terminal

On vnstat I can get the month, day, hour or top 10 days network usage. Is there anyway that I can get the network usage from specific date on the terminal? by vnstat or another tool? Edit: I want to have the usage from specific date to the current…
ICE
  • 2,075
1
vote
3 answers

getting daily data consumption value from vnstat in JSON

I want to retrieve the daily internet usage from my Ubuntu machine in Json format using Vnstat . To fetch the daily usage in terminal I use following command: vnstat -d -i wlp2s0 the output will be: wlp2s0 / daily day rx | tx | total | avg. rate…
Sjn73
  • 13
1
vote
1 answer

Terminal improper output, unprintable character

Ever since I have used vnstat and vnstati, not a single time have I received a proper date under the day column for vnstat. Also, vnstati screenshots display unprintable characters. Please help me solve this problem. Screenshots: 1:vnstat 2:vnstati…
1
vote
1 answer

Monitor PPPOE connection with vnstat

I've try vahid@DEMON:~$ ifconfig eth0 Link encap:Ethernet ... lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 ... ppp0 Link encap:Point-to-Point Protocol ... vboxnet0 Link encap:Ethernet ... wlan0 Link encap:Ethernet ... Then…
1
vote
0 answers

How to disable monitoring virtual ethernet interfaces with vnstat?

How can I prevent vnstat from monitoring virtual interfaces for example created by docker? vnstat monitors all network interfaces, including virtual network interfaces created by docker. We run a large docker stack that creates more than 20 virtual…
1
vote
0 answers

vnstat data question

Test driving vnstat & trying match the usage with the provider report vnstat tells me I've used "155.06 KiB" -or- 0.00015878144 Gb last 30 days Provider reports 972gb use last 30 days Thoughts ? Yes, one/only system connected to isp
dbt
  • 21
1
vote
0 answers

Error selecting interface with "vnstat --face"

When changing the interface with the command vnstat --iface it shows me the following error Error: Interface for --iface missing.
1
vote
0 answers

Conky setup for sessional data usage

As in the above picture, the integration for data usage is acheived by the following code ${color orange}${voffset 2}${hr 1} ${color1}Network using vnStat "-i", "-w" and "-m" ${color}${goto 5}Today ${goto 100}Yesterday ${goto 225}Week ${goto…
1
2