cnfs cycbuff problem

Nicholas Geovanis nickgeo at merle.acns.nwu.edu
Tue Apr 11 20:47:16 UTC 2000


On Tue, 11 Apr 2000, Brian Kantor wrote:

> >
> >Related to that, wouldn't it be more useful to report the OLDEST rather
> >than the Newest content in the buffer? I've often wondered about that...
> >
> 
> Although my understanding of the CNFS is incomplete, is it not the case
> that there really isn't a way to determine which is the oldest article
> in the buffer?
<CUT> 
> It would be nice if the allocator could extract some information about
> an old article about to be overwritten before that happens, but my quick
> glance at the code didn't reveal an easy way to add that functionality.
> It sure would be nice to have, though.

Isn't that what "cnfsstat -a" does?

$ cnfsstat -a
Class BINARY  for groups matching "alt.binaries.*"
 Buffer ALTBIN, len: 1416.02 Mbytes, used: 976.53 Mbytes (69.0%) 259
cycles
  Newest: 2000-04-11 15:44:39,    0 days,  0:00:43 ago
  Oldest: 2000-04-10 22:43:40,    0 days, 17:01:42 ago

Class NONBIN  for groups matching "*"
 Buffer REST1, len: 1689.45 Mbytes, used: 314.39 Mbytes (18.6%)  40 cycles
  Newest: 2000-04-11 15:45:21,    0 days,  0:00:01 ago
  Oldest: 2000-04-08  6:23:13,    3 days,  9:22:09 ago
 Buffer REST2, len: 1953.12 Mbytes, used: 1467.51 Mbytes (75.1%)  34
cycles
  Newest: 2000-04-11 15:45:22,    0 days,  0:00:01 ago
  Oldest: 2000-04-07 15:38:37,    4 days,  0:06:46 ago

$

Granted this is inn 2.2.1, perhaps there's been a change since then....

> 	- Brian

+-------------------->
| Nick Geovanis            Indeed I tremble for my country when
| IT Computing Svcs          I reflect that God is just: that his
| Northwestern Univ          justice cannot sleep forever...
V n-geovanis at nwu.edu         - Thomas Jefferson, 1781




More information about the inn-workers mailing list