New on LowEndTalk? Please Register and read our Community Rules.
How to know the bandwidth I used?
Hi guys,
I have an Atom dedi box from Delimiter with 2TB of bandwidth. Last month they suspended my box because I used over 2TB. However, their traffic report did not work (Error: Not enough data collected yet to generate graph). I opened ticket 3 days ago to ask them but they didn't answer. So please guide me, is there a script or anything to know that?
Thank you.
Comments
install vnstat.
Debian/Ubuntu apt-get install vnstat
Centos etc read this http://webhostingneeds.com/Install_vnstat
Alternatively, you can see the total bandwidth RX or TX by using the "ifconfig" command.
You should see something like this
RX bytes:127968167 (122.0 MiB) TX bytes:87500917 (83.4 MiB)
As Tar said, install vnstat. There is even a php script that will put everything together nicely if you need it as well.
http://www.tecmint.com/vnstat-php-frontend-for-monitoring-network-bandwidth/
(see the sample output at the bottom of the page)