[nzlug] TelstraClear cable usage fetcher

Tony Wills ajwills at paradise.net.nz
Sat May 27 01:27:29 NZST 2006


At 14:32 26/05/2006, you wrote:
>I have finished a command line program which downloads and displays the
>current usage figures for TelstraClear cable plans, and which is
>suitable for use with cron.

But I wouldn't rely on the data from it too much :-)

No, I'm not complaining about the code, just pointing out that the summary 
on those pretty graph pages (graphs which should actually be drawn as 
histograms, not line charts, to give them any sort of meaning) is never (in 
my experiance ;-) upto date (as per their warning of up to 6 hours 
slow!).   Ok, it's not usually that slow, but it gives no timestamp and 
I've certainly had it tell me I've got  800MB more left than totalling up 
the CSV file shows.

The data in the CSV files seems to be reliable and comparing the last entry 
with the current time will tell you whether it is up to date.  Each entry 
covers a 15 minute period and seems to keep up to date, so totalling up 
that file should give you accurate and precise data no more than 15 minutes 
old. (seems to skip the entry if there is no traffic for that 15 minute 
interval)

Tony.





More information about the NZLUG mailing list