Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Luke Drumm on November 22, 2000, 02:29:29 AM
-
Hi,
Does anybody any solutions for monitoring the various usage stats of a cable (or otherwise) connection? (With specific intrest primarily in the MB dn/upload totals and average transfer speed as secondary).
I don't need anything granularity beyond the connection itself (eg. I don't need to know usage per user/machine etc.).
All I basically need is a upload/download meter that's a little more reliable and 'real time' than Telstra's rather ho-hum online usage profile.
If I could have a command line executable that looks something like:
usagetot ppp0 1/3/00 25/3/00
which then pumps out something like:
273.5 Mb 34.5 Kps
Does this require some funky deamon programming or can one fudge together some stats from the existing services?
Regards,
Luke
-
check out http://www.sinfield.com/old/server/ do you mean something like that? That is just some php, I am sure it could be editted to only show netowrk stats if you wanted. I will send the source to you if you like.Luke Drumm wrote:
> Hi,
>
> Does anybody any solutions for monitoring the various usage
> stats of a cable (or otherwise) connection? (With specific
> intrest primarily in the MB dn/upload totals and average
> transfer speed as secondary).
>
> I don't need anything granularity beyond the connection itself
> (eg. I don't need to know usage per user/machine etc.).
>
> All I basically need is a upload/download meter that's a little
> more reliable and 'real time' than Telstra's rather ho-hum
> online usage profile.
>
> If I could have a command line executable that looks something
> like:
>
> usagetot ppp0 1/3/00 25/3/00
>
> which then pumps out something like:
>
> 273.5 Mb 34.5 Kps
>
> Does this require some funky deamon programming or can one
> fudge together some stats from the existing services?
>
> Regards, Luke
>
-
That looks pretty close to what I'm after although I'm curious about when the stat's are 'zero'ed.
Is it a running total that'll keep going irrespective of the server bouncing or is it purely on a 'per connection' basis with the stat's resetting upon the interface starting up?
If the numbers are consistant from one interface connection to the next then the source would be great (as I would like to write a perl version so it fits in with the rest of my CGI stuff).
Luke.
-
Hi Luke,
I would like to use the source for the bandwithmeter.
Kind regards
Emiel
-
Hi, just saw this thread and took a look at the url. This looks very useful. Would it be possible to get a copy of the source, or a least a pointer on where to find it?
Thanks in advance.