Thread View: news.software.nntp
3 messages
3 total messages
Started by Simon L
Mon, 30 Nov 1998 00:00
Reading the contents of CNFS devices
Author: Simon L
Date: Mon, 30 Nov 1998 00:00
Date: Mon, 30 Nov 1998 00:00
15 lines
1050 bytes
1050 bytes
Hi there,
Does anyone know anyway of reading the contents of a cnfs device to
check the
contents of it? I would like to be able to get some stats from it,
ie. contents
% full
number of articles
Any ideas,
Simon.
Re: Reading the contents of CNFS devices
Author: Kjetil Torgrim Homme
Date: Mon, 30 Nov 1998 00:00
Date: Mon, 30 Nov 1998 00:00
19 lines
1410 bytes
1410 bytes
[Simon L.] > Does anyone know anyway of reading the contents of a cnfs device to > check the > contents of it? I would like to be able to get some stats from it, > ie. contents > % full > number of articles Have a look at cnfsstat, it's included in the newer releases of INN (not sure when it got included). I like to run it with the "-a" flag. Be aware that the output from cnfsstat is not always accurate, use it with a pinch of salt. (It reports % full, even when the cnfs has cycled. A CNFS is always 100% full once it has cycled, of course.) Kjetil T.
Re: Reading the contents of CNFS devices
Author: Mark Mentovai
Date: Mon, 30 Nov 1998 00:00
Date: Mon, 30 Nov 1998 00:00
35 lines
2399 bytes
2399 bytes
Kjetil Torgrim wrote in message<1rzp99mk61.fsf@haey.ifi.uio.no>: >Have a look at cnfsstat, it's included in the newer releases of INN >(not sure when it got included). I like to run it with the "-a" flag. >Be aware that the output from cnfsstat is not always accurate, use it >with a pinch of salt. (It reports % full, even when the cnfs has >cycled. A CNFS is always 100% full once it has cycled, of course.) I see that as a feature, not as a bug. If you take the percent full indication to mean how much has been written to a buffer on a given cycle, then you can figure out how long the buffer has been in that cycle, and how much longer it will remain before rolling over again. You can also use it to see how much news has passed through the buffer. For example, if you have a 400MB buffer on its third cycle that is 25% "full", then all you have to do is 400MB * 3.25 cycles = 1300MB. That information can be used for a variety of purposes, including figuring out how much you want to increase a metabuffer's size if it's too small and things are "expiring" too quickly. I'm thinking that cnfsstat should provide more information oriented towards the status of the metabuffers (but not necessarily less of the information about the individual buffers themselves - that's useful as well). I find myself manually adding the percentages of all of my buffers to figure out the status of my metabuffers. To me, the metabuffer information would be more important. Eventually, I'll probably just change cnfsstat myself so that it provides this information. -Mox -- Mark Mentovai mark@moxienet.com http://www.moxienet.com/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads