Henrik Nordstrom wrote:
> On tor, 2007-07-19 at 11:54 +0500, Rihad wrote:
>> Hi, is there a way to determine the average time that a cached item
>> lives in the cache ("cache motion", as djb would refer to it)? IIRC
>> there was such a thing in cachemgr's output in the older versions of
>> Squid: under the "Store directory stats" the value was displayed as
>> e.g., "3 days", but lately there's been no such thing in place.
>
> It's now in the per cache_dir section.
>
Hmm... I'm not sure I know where it is. Perhaps I don't see it because
I'm not using the LRU replacement policy (but GDSF instead)? Here's the
Store Directory Stats output:
Store Directory Statistics:
Store Entries : xxxx
Maximum Swap Size : xxxx KB
Current Store Swap Size: xxxx KB
Current Capacity : xx% used, xx% free
Store Directory #0 (aufs): /cache
FS Block Size 2048 Bytes
First level subdirectories: 128
Second level subdirectories: 256
Maximum Size: xxxx KB
Current Size: xxxx KB
Percent Used: xx%
Current load metric: 178 / 1000
Filemap bits in use: xxxx of xxxx (92%)
Filesystem Space in use: xxxx/xxxx KB (82%)
Filesystem Inodes in use: xxxx/xxxx (47%)
Flags: SELECTED
Removal policy: heap
Received on Thu Jul 19 2007 - 06:13:04 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT