LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2015, 12:54 PM   #1
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
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.
 
Old 05-16-2015, 01:08 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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
 
Old 05-16-2015, 02:01 PM   #3
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
actually i want to know data download usage for the entire month. ipconfig will give for a day or a session
 
Old 05-16-2015, 02:08 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get data downloaded by wget arvindk.monu Linux - Newbie 1 10-05-2010 02:14 PM
Software to see the amount of data downloaded mohitdaksh Linux - Software 1 08-03-2010 07:19 PM
Perl .check if data are exist in the array before adding new data ufmale Programming 12 07-14-2010 05:26 AM
software to compute my downloaded data in a month deepinlife Linux - Software 5 12-08-2009 12:43 AM
How to check if the downloaded ISO in the build server is CORRUPTED or NOT linuxkatty Linux - Newbie 7 09-13-2009 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration