Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo
* * * * * 1 votes

How to install, run, and use the BitMeterOS bandwidth meter...


  • Please log in to reply
3 replies to this topic

#1 Mike_Walsh

Mike_Walsh

    Bleepin' 'Puppy' nut..!!


  • Members
  • 1,091 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:11:21 PM

Posted 04 November 2016 - 04:33 PM

BitMeterOS Network Bandwidth meter (for Linux, Mac & Windows)
 
How to install, run, and use the BitMeterOS bandwidth Meter.
 
----------------------------------------------------------------------------
 
Contents:-
 
Introduction
Requirements
Installation Method
How to use BitMeterOS
 
---------------------------------
 
 
INTRODUCTION
 
Evening, all.
 
As y'all know by now, I'm a very enthusiastic 'Puppy' Linux user. When I first started out with Linux (Ubuntu) around 2 1/2 yrs ago, we were on a fairly tight 'data cap' here at home in the UK. It's not the case anymore, since we're now 'unlimited', but I still use this app out of habit, and because it's very neat for what it is.
 
I was hunting around for something to monitor this limited bandwidth, yet at the same time I wanted an app that would be lightweight in nature. I eventually found it here:-
 
 
...on the CodeBox website, which belongs to an absolute genius of a guy by the name of Rob Dawson. Rob codes everything he develops to be as small & lightweight as possible.....and most of what he produces is cross-platform in nature. Anyway, I thought I'd share it with y'all.
 
(There are also some Puppy-specific .pets, developed by our resident Forum 'coder', Geoffrey, with input from yours truly, which I'll explain a bit more about later on.)
 
-----------------------------------------------------------------------------
 
REQUIREMENTS:-
 
1) Any computer running Linux, Mac or Windows.
 
2) The BitMeterOS app itself.
 
That's all that's needed!
 
----------------------------------------------------------------------------
 
INSTALLATION METHOD:-
 
1) First of all, download the relevant installer for your O/S and architecture, from here:-
 
 
a ) Version 0.7.6, as stated, is the oldest & most stable. This is a 'basic' version, which merely gives a main readout as a total of usage, whether internet traffic, or LAN traffic; it doesn't differentiate. This one is as reliable as they come....I've used it for a long time.
 
b ) Version 0.8.0, on the other hand, differentiates between Internet and LAN traffic, giving them as sub-totals, and a running 'total'. It's not quite as stable, however; Rob moved to a newer SQLite database for this one, and it's a bit temperamental. It may run for months quite happily, or it may throw a wobbly after a couple of weeks....it's unpredictable. It is, however, well worth trying.
 
2) Having downloaded the version of your choice, simply run the installer. This doesn't take long.....under Linux, this occupies around 900k-1 MB of disk space, so it's quite lean. The BitMeterOS shell-script lives in /var/lib.
 
--------------------------------------------------------------------------
 
HOW TO USE BITMETEROS:-
 
BitMeter comprises of two items; a 'daemon' that runs continuously in the background, monitoring which ever network interface you're connected to, and a web interface, by means of which you view the information collected. This makes sense, in fact, since most data usage tends to be incurred in your browser anyway. It's set to auto-start at boot by default.
 
When it's installed, go into your browser, and enter the following into the address bar:-
 
localhost:2605/index.html
 
It makes sense to Bookmark this for future reference.
 
--------------------------------------------------------------------------
 
You'll initially see the 'Monitor' tab open. This shows a graphical representation of data consumed against time.
 
 
Va4qj70.png
 
 
'History' will enable you to view usage over a period of time (obviously, as far back as when it was first installed).
 
'Summary' enables you to see a running total of your data used. This updates in real time. 0.7.6 has a fixed 10-second update interval; 0.8.0 allows you to tailor this to your own preferences.
 
 
2Z6WEM9.png
 
 
'Query' allows you to query amounts used over user-defined periods and times.
 
'Alerts' will allow you set an alert, to let you know when you're getting close to a given amount of data used.....handy for those amongst us who are on a limited 'data cap'.
 
The remaining two tabs, 'Calculator' and 'Preferences' are fairly self-explanatory. In 'Preferences', you can play around with the appearance of the app itself, and tailor your update intervals, amongst other things. If you change this last item, make sure you 'Save to server', not 'Save to Browser'; otherwise, you'll need to reset again the next time you use it.
 
If you'd like to see what the app looks like before deciding to try it, there's an interactive demonstration on Rob's website, here:-
 
 
------------------------------------------------------------------------
 
For Puppy, since I run several of the little darlings, I wanted to come up with a method for getting a combined total between Pups. I enlisted Geoffrey's help, as stated above, and between us we came up with a method for sym-linking each Pup's instance of BitMeterOS to a single, common 'bitmeter.db' database on a remote partition . And it worked beautifully..!
 
Rob himself paid us a visit on the Puppy Forums during the development thread, to see how we were getting on with it; I think he was quite impressed! Certainly, he gave us his blessing....and approval.
 
So, I'm also including a link to these packages (.pets and .debs) @ my MediaFire a/c, if any Puppy users would like to give them a try.
 
Deb packages:-
 
 
Pet packages:-
 
 
Obviously, the .debs will work fine for Ubuntu, Mint, or any of the Debian-based distros. Both .debs and .pets will work in Puppy. (Try the .pets first; some people have found they don't install for them. If that's the case, I guarantee the .debs definitely will.
 
The installer for the multi-Pup ones will ask which remote database you want to link to, if there's already one installed, or where to place it if it's the first one of a series you wish to set up.)
 
There is a method for doing this between 'regular' installs on multiple machines, outlined here:-
 
 
...but I could never get the hang of this, which is why we developed the above method for Puppy..! (One of the wonderful things about Linux, of course, since it's mostly script-based; you can figure just about anything out, given time, without too much trouble.) Those of you who are comfortable with the terminal will in all likelihood have this figured out in a matter of minutes.....
 
-------------------------------------------------------------------------
 
And that's about it, really. If any of you decide to give this a try, I hope it proves to be of as much use to you as it has been to me over the last couple of years.
 
Enjoy.
 
 
Mike.  :wink:

Edited by Mike_Walsh, 04 November 2016 - 06:49 PM.

If the information given has helped you, please remember to say 'Thanks!'

My Puppy BLOG ~~~  My Puppy PACKAGES

Compaq Presario desktop; Athlon64 X2 3800+, 3 GB RAM, WD 500GB Caviar 'Blue', 32GB Kingspec PATA SSD, Seagate 'Expansion' 1 TB  USB 3.0 drive, ATI Radeon Xpress 200 graphics, Dell 15.1" pNp monitor (1024 x 768), TP-Link PCI-e USB 3.0 card, Belkin PCI USB 2.0 4-port card, self-powered 7-port USB 2.0 hub

Dell Inspiron 1100; 2.6 GHz P4, 1.5 GB DDR1, 64GB KingSpec IDE SSD, Intel 'Extreme' graphics, 2 x 128GB SanDisk Cruzer 'Fit' USB 'external' storage.

 

XQxSFqE.gif

 

 


BC AdBot (Login to Remove)

 


m

#2 synaptic

synaptic

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Local time:12:21 AM

Posted 25 December 2016 - 12:07 AM

@Mike_Walsh

Fantastic , thanks for posting ( and for the tutorial ) .

 

I have a bandwidth cap with my ISP , and it gets expensive if I accidentally exceed it .

On Windows I use Networx  , which is a great tool and I've been searching for a Linux equivalent for some time .

 

I tried a few but they are generally clunky and have been disappointing ; BitmeterOS is just perfect for what I need .

 

If I had one tiny quibble it would be that there is no option in preferences  to change the graph direction.

I'm used to seeing the trace running from right to left in these types of display ( eg Resource Monitor in Windows )

-


Edited by synaptic, 25 December 2016 - 02:51 AM.


#3 Mike_Walsh

Mike_Walsh

    Bleepin' 'Puppy' nut..!!

  • Topic Starter

  • Members
  • 1,091 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:11:21 PM

Posted 25 December 2016 - 10:13 AM

Hi, synaptic.

 

Glad you like it. It's one of the smallest (yet neatest) examples of this kinda thing I've found for a long while.

 

In XP, I used to use one called ShaPlus Bandwidth Meter. Again, very small & very neat; basically, it 'does what it says on the tin' kinda thing. I've since found out that it in fact runs very well under WINE.....which is not everybody's cup of tea; I certainly wouldn't bother with WINE for one tiny app.....but since I run stuff like Photoshop, MS Office, Foxit PDF Reader, etc, under WINE, it's easy to make this other one run.

 

It is, however, Windows only. I don't think the developer even makes Mac or Android versions. If you're curious, see here:-

 

http://www.shaplus.com/bandwidth-meter/

 

Oh, and before I forget.....Merry Xmas! Have a good one.

 

 

Mike.  :wink:


Edited by Mike_Walsh, 25 December 2016 - 10:14 AM.

If the information given has helped you, please remember to say 'Thanks!'

My Puppy BLOG ~~~  My Puppy PACKAGES

Compaq Presario desktop; Athlon64 X2 3800+, 3 GB RAM, WD 500GB Caviar 'Blue', 32GB Kingspec PATA SSD, Seagate 'Expansion' 1 TB  USB 3.0 drive, ATI Radeon Xpress 200 graphics, Dell 15.1" pNp monitor (1024 x 768), TP-Link PCI-e USB 3.0 card, Belkin PCI USB 2.0 4-port card, self-powered 7-port USB 2.0 hub

Dell Inspiron 1100; 2.6 GHz P4, 1.5 GB DDR1, 64GB KingSpec IDE SSD, Intel 'Extreme' graphics, 2 x 128GB SanDisk Cruzer 'Fit' USB 'external' storage.

 

XQxSFqE.gif

 

 


#4 bumping

bumping

  • Members
  • 37 posts
  • OFFLINE
  •  
  • Local time:05:21 PM

Posted 27 February 2017 - 10:30 AM

Ty

 

I'll be coming back to this


Edited by bumping, 27 February 2017 - 10:30 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users