Hallo,
* Sandro Tosi [Fri, May 15 2015, 10:24:37AM]:

> > The current
> > way is retrieving a special URL (see cron job script, you can also
> 
> the only cronjob I can found is the expire-caller.pl , are you
> referring to this one?
> 
> > encode parameters from the webui and admin credentials into that URL.
> > wget -qO- is your friend, IMHO).
...
> I'm not sure what those info mean :( I Was expecting something on the line of:
> 
> 2015-05-14 09:56 - 2015-05-15 09:56 248 (31.08%)550 (68.92%)798 0.03
> MiB (16.49%)0.16 MiB (83.51%)0.19 MiB

Ah, now I see what you wanted... I should have read your second mail to the end.
For me, "the stats" are the ones that are displayed at the end of index
stuff processing.

The other "stats" are actually a cheap hack. apt-cacher.log contains
the incoming/outgoing data counts and those are counted together,
eventually grouped in ranges based on time stamps for
the last hour, 24hours, week, etc..

I guess this can be implemented in the same way with a dozen lines of
perl code, or I could rip out the calculating code and make it reusable,
providing an external tool.

I guess I will try that soon.

Regards,
Eduard.

-- 
<man-di> gu4rdi4n: das letzte mal als apt-get bei mir so reagiert hat, war da
        kaputte hardware schuld
<gu4rdi4n> ich kann mir aber momentan keine neue leisten, also ist die nicht
        schuld.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to