Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: Paulo on March 24, 2013, 03:42:55 PM

Title: Ethernet traffic monitor script
Post by: Paulo 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.
Title: Re: Ethernet traffic monitor script
Post by: tinypoodle on March 25, 2013, 04:05:59 AM
Nice - and BTW, works with a wireless interface as well ;)
Title: Re: Ethernet traffic monitor script
Post by: Paulo 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.
Title: Re: Ethernet traffic monitor script
Post by: tinypoodle on March 25, 2013, 08:46:55 AM
Personally I use xnetload cherrypicked from debian repo, works like a charm with Core ;)
Title: Re: Ethernet traffic monitor script
Post by: Paulo 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.
Title: Re: Ethernet traffic monitor script
Post by: tinypoodle 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.
Title: Re: Ethernet traffic monitor script
Post by: Paulo on March 25, 2013, 09:14:41 AM
Great, will give it a try.