Monitor network usage

post here any question or information you want to share on Computers

Monitor network usage

Postby Toutdemoncru » Mon Apr 27, 2015 10:04 am

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
Toutdemoncru
 
Posts: 4
Joined: Wed Jan 01, 2014 2:29 pm

Re: Monitor network usage

Postby fvdw » Mon Apr 27, 2015 7:51 pm

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
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Monitor network usage

Postby Toutdemoncru » Tue Apr 28, 2015 8:59 am

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
Toutdemoncru
 
Posts: 4
Joined: Wed Jan 01, 2014 2:29 pm


Return to Computers and General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests