LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   check data downloaded (https://www.linuxquestions.org/questions/linux-networking-3/check-data-downloaded-4175542785/)

Upendra Pratap Singh 05-16-2015 12:54 PM

check data downloaded
 
I have a proxy server in my college and I use the Internet through this proxy server. Recently there has been put a limit on the data that we can download to 50Gb per month.

How can I determine the amount of data that I have downloaded so that I do not happen to cross this limit? Are there any commands or tools in Ubuntu?

The issue is to find the data downloaded not the data surfed.

schneidz 05-16-2015 01:08 PM

maybe ifconfig will help:
Code:

[schneidz@hyper ~]$ ifconfig
eth3      Link encap:Ethernet  HWaddr 90:FB:A6:2A:5B:68 
          inet addr:192.168.1.25  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd18:f3d:bc4e:0:92fb:a6ff:fe2a:5b68/64 Scope:Global
          inet6 addr: fe80::92fb:a6ff:fe2a:5b68/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1844626 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1266220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1608850344 (1.4 GiB)  TX bytes:224799593 (214.3 MiB)
          Interrupt:23 Base address:0x8000


Upendra Pratap Singh 05-16-2015 02:01 PM

actually i want to know data download usage for the entire month. ipconfig will give for a day or a session

Keith Hedger 05-16-2015 02:08 PM

just grab the total from if config as above and add it to a running total at the end of evry session/day.
If the uni has imposed the download limit they should mail you etc when you approach it surely?


All times are GMT -5. The time now is 10:42 PM.