WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ethernet traffic monitor script  (Read 2477 times)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Ethernet traffic monitor script
« on: March 24, 2013, 03:42:55 PM »
Hi all

One of the very few things I miss from Windows is the icon in the task bar showing Ethernet traffic so I have written a small script to do a similar thing.
No fancy icons but serves the same purpose.

Please read the comments in the script for usage and setting up prior to running it.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ethernet traffic monitor script
« Reply #1 on: March 25, 2013, 04:05:59 AM »
Nice - and BTW, works with a wireless interface as well ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Ethernet traffic monitor script
« Reply #2 on: March 25, 2013, 08:39:38 AM »
Thanks tinypoodle.
Glad it works with your wireless interface too.

One of the main reasons I like to see Ethernet traffic is when surfing the net.
You would be surprised how many sites periodically refresh data (read pesky ads)
and waste my bandwidth and monthly cap.

I'm toying with the idea of modifying my /etc/hosts file to block certain ads
and have a few questions about it but I will create a separate thread for that.
« Last Edit: March 25, 2013, 08:46:55 AM by Paulo »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ethernet traffic monitor script
« Reply #3 on: March 25, 2013, 08:46:55 AM »
Personally I use xnetload cherrypicked from debian repo, works like a charm with Core ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Ethernet traffic monitor script
« Reply #4 on: March 25, 2013, 08:52:53 AM »
xnetload looks pretty useful.
Did you compile it on a TC box or did you simply copy it from a Debian one?
Since it's a X app, I'm guessing the dep list will be a long one.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ethernet traffic monitor script
« Reply #5 on: March 25, 2013, 09:05:46 AM »
By "cherrypicked" I mean using binary from a package.
IIRC, worked out of the box with Xvesa.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: Ethernet traffic monitor script
« Reply #6 on: March 25, 2013, 09:14:41 AM »
Great, will give it a try.