WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: network traffic counter  (Read 2975 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
network traffic counter
« on: November 15, 2015, 06:37:21 PM »
Hello

do any of you know of a website that  is a "live online traffic counter" and shows you how much traffic your ETHO has passed.  In other words, it would only be counting
stuff when indeed you had the web browser open and you had that counter tab open   (while browsing other things in other tabs)

ntop extension did not work here...

OR

is there any simple "network traffic counter" extension in TCL 4?

OR

can anybody point me to a very very simple "network traffic counter" linux tool........... that i could perhaps download and execute in tcl

thx.

V

« Last Edit: November 15, 2015, 06:54:27 PM by cast-fish »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: network traffic counter
« Reply #1 on: November 15, 2015, 07:55:06 PM »
Hi cast-fish
If you enter  ifconfig  it will tell you how many packets and bytes were transmitted and received.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: network traffic counter
« Reply #2 on: November 15, 2015, 08:55:42 PM »
thats great Rich

thanks.


Just doing some investigating about cell phone internet....and cloud browsers....which is proving to be the hunch that i suspected.

Ethernet is used first...... just to get an idea about it.

V


Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: network traffic counter
« Reply #3 on: November 15, 2015, 11:15:00 PM »
Can also use  $totaldown  and  $totalup  in .conkyrc. Shows the same ifconfig data but easy to monitor total session data transfer from the desktop. Not sure how to monitor browser traffic only though, maybe just avoid using Apps, wget or other streaming sofftware during the session.
http://conky.sourceforge.net/docs.html

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: network traffic counter
« Reply #4 on: November 16, 2015, 05:17:19 AM »
I also use ifconfig output. I parse it and display it in my window manager's bar, next to the time.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: network traffic counter
« Reply #5 on: November 16, 2015, 10:17:37 PM »
seems i made a large-ish boo boo here and missunderstood "cloud browsers".

it seems "cloud browsers" sometimes use 4 times MORE data than a desktop native browser
for the same surfing experience. Sure the experience is way faster.....but the data guzzling isn't so good.


it's strange because having done the tests last week, i concludied it was 4 times LESS......then repeating things tonight i discovered it's actually  4 times MORE.    Must have got mixed up last week.

anyhow thanks

V



Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: network traffic counter
« Reply #6 on: November 16, 2015, 11:09:00 PM »
I also use ifconfig output. I parse it and display it in my window manager's bar, next to the time.
Hi hiro. If you see this response, please elaborate. Which window manager and how exactly do you parse this data to the 'bar'? Curious mind wants to know :)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: network traffic counter
« Reply #7 on: November 17, 2015, 03:37:16 AM »
I use wmii and this is the part of my script that updates the bar with the data:
Code: [Select]
echo -n "$WMII_NORMCOLORS" | wmiir create /rbar/10lte
while read line
do
echo "$line" | wmiir write /rbar/10lte
done

#here, touched up for your use with the ifconfig command
while sleep 1
do
ifconfig wwan0|awk '/bytes/ {print "RX: "$3,$4,"TX: "$7,$8}'|
sed 's/(//g; s/)//g' |
wmiir write /rbar/10lte
done
« Last Edit: November 17, 2015, 03:41:38 AM by hiro »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: network traffic counter
« Reply #8 on: November 17, 2015, 03:43:51 AM »
it seems "cloud browsers" sometimes use 4 times MORE data than a desktop native browser
for the same surfing experience. Sure the experience is way faster.....but the data guzzling isn't so good.

What's a cloud browser? If you use wget it will be less data cause it doesn't load all javascripts, images, movies, other media and css files and whatever else is loaded by the javascripts.

For me opera is still the fastest browser, mostly because it lacks a bunch of features. But it only works well with http, not TLS.

Btw opera has an easy way to disable javascript, images or CSS. Fifth also has these options.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: network traffic counter
« Reply #9 on: November 17, 2015, 06:33:53 PM »
Hiro

A cloud web browser is just  a web browser hosted on some other silicon box someplace and offered up to the worlds world wide web users as an actual web page.

So open your regular desktop browser, then surf to the "cloud browser web page" and hey presto a window in window of Chrome appears.....or FF or whatever browsers the company  offers up.


The advantage of cloud browsers is the crazy speed......most of them have optical into the back bone of the internet so they are very very fast. Also they are very handy on your older hardware.....

......if your old hardware can manage to open a relatively new browser and ONE tab.....then make that one tab be the cloud browser.....this cloud browser will then allow you to do unlimited browsing with speed and tabs and such like.

Some free cloud browsers that i use support Adobe Flash in the cloud and CD quality  sound among many other features..... so  this also relieves your older cpu burden.

Cloud browsers also tend to be the very latest bleeding edge browser with every single TECH and plug in known to man..... for free

that's the important point there also.....they are completely free

Usually a typical cloud browser that i use is running on a dedicated 2.8ghz dual core hyperthreaded MAC MINI computer with 8 gigs of ram  in the cloud.......all of the power is offered up just for you to browse with   ......for free

V





« Last Edit: November 17, 2015, 07:02:10 PM by cast-fish »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: network traffic counter
« Reply #10 on: November 18, 2015, 04:44:07 AM »
where can i try this?