> 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.

gotcha, but maybe some information also about the size of the cache
itself would be useful (split per source? just the total size? dunno)

> 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..

also consider a more "consistent" output: last 24h is what we have on
the acng report page and it creates a "rolling" stat info as it
depends on when the command is executed; a report of every day from
00:00:00 to 23:59:59 would be awesome

> 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.

awesome, thanks!

-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to