Page 1 of 1

Monitor network usage

PostPosted: Mon Apr 27, 2015 10:04 am
by Toutdemoncru
Hello everyone, I was about to throw away my LaCie networkspace, and I found this alterative firmware which is really great.
I'm using my NAS to upload on dropbox large volume of photos and videos.
I have been looking for a way to monitor bandwidth usage, but apparently none of the following tools are available : tcpdump, bmon, ifstat

Any advise on a tool to monitor network usage DL/UL ?

Cheers
PedroLane

Re: Monitor network usage

PostPosted: Mon Apr 27, 2015 7:51 pm
by fvdw
currently there is no specific network monitor included, I will look at it

---edit
I compiled vnstat for you, see attached binaries.
On webpage of the author you can find more info http://humdi.net/vnstat/
Let us know how you have set it up (I did not include a config file yet) your results so we might include it in the next release
Also be aware that files in the folder /var will be deleted at next boot. if you want to store data that survives boot we should look at making a shared folder that is used to store the data.


vnstat-1.1.4-27apr15.zip


beside vnstat you could also use ethtool and ifconfig to get info on up and downloaded bytes
Code: Select all
ethtool -S eth0

or just
Code: Select all
ifconfig eth0

Re: Monitor network usage

PostPosted: Tue Apr 28, 2015 8:59 am
by Toutdemoncru
many thanks it works perfectly.
My linux skills are very limited
I just copied the vnstat vnstatd and vnstati into /usr/bin
then I created a script in /etc/init.d to start vnstad at boot time, with the -d option

I am mainly using vnstat -l to monitor live network usage
I tried to generate an image with vnstati
I will spend some time playing with the config file to make it look nicer
Displaying that in the web interface of the NAS could be useful

thanks again, what you are doing is great