This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Linux: monitor my own internet usage page by page (url by url).

0

Hi all,

I have a monthly broadband subscription which rolls over on the 23rd
of each month.

I had arrived near the end of my usage so I was carefully checking
that I didn't go over my limit - they crucify you for excess usage!

So, when my usage didn't roll over on the 23rd, I rang them
to check what was up (turned out that it was due to their
end-user web interface not being entirely not up to date
- they're quick enough to bill though!).

Now to the question - the agent told me that I had used 2.5MB
(or similar figures) PER PAGE just to check my usage (the only
pages I had accessed on the two days in question). To say I
was shocked is an understatement. These are not fancy pages -
v. little graphics &c.

So, now I want to check up my internet usage (per page).
I don't want something that I have to monitor continually,
rather keeps a record, preferably something I can put in
a database or at least a spreadsheet.

Is it possible to do this with tshark/Wireshark?

What I'd like ideally is a daemon (I know that I can do it
from a terminal as a background process).

If it is not possible, can anyone point me to useful Linux
tools in this domain? I have Googled and the only thing close
is tcptrack here.

asked 24 Feb '15, 16:08

dragam's gravatar image

dragam
6112
accept rate: 0%


2 Answers:

0

answered 24 Feb '15, 22:58

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

0

Depending on the browser you use, the developer tools provided by the browser can also show this. This page shows how to measure page "weight" using various browsers.

Note your browser will hopefully cache a lot of the data so it isn't retrieved subsequently. You can see this by running a normal reload (e.g. F5 in Chrome) and then a full reload (e.g. Ctrl + F5 in Chrome).

answered 25 Feb '15, 01:38

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%