alexandermarston / vnstat-dashboard

A responsive web UI to view network traffic statistics provided by vnStat (with support for version 2.x)
https://alexandermarston.github.io/vnstat-dashboard/
142 stars 60 forks source link

Added a live stats graph #10

Closed tariquesani closed 6 years ago

tariquesani commented 6 years ago

Added some code to show the live graph of the selected interface.

alexandermarston commented 6 years ago

I don't think the best approach for this is to be hooking into /proc filesystem to get network statistics.

Vnstat does have the ability to listen to live traffic so would rather pull the data from there.