Thread View: news.software.nntp
5 messages
5 total messages
Started by Brandon
Tue, 28 May 2002 18:59
reset ~news/bin/cnfsstats
Author: Brandon
Date: Tue, 28 May 2002 18:59
Date: Tue, 28 May 2002 18:59
8 lines
1101 bytes
1101 bytes
does anyone know how to reset the counts in ~news/bin/cnfsstats? Thanks. Brandon
Re: reset ~news/bin/cnfsstats
Author: Russ Allbery
Date: Tue, 28 May 2002 23:59
Date: Tue, 28 May 2002 23:59
16 lines
1557 bytes
1557 bytes
Brandon <brandon@aqueous.org> writes:
> does anyone know how to reset the counts in ~news/bin/cnfsstats?
I'm not sure I know what you're asking, but at a guess, purging all of
your CNFS buffers will do this. You can reset a CNFS buffer by erasing
the first 1024 bytes of it or so; something like:
dd if=/dev/zero of=/path/to/cycbuff bs=1024 count=1
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: reset ~news/bin/cnfsstats
Author: Brandon
Date: Wed, 29 May 2002 14:38
Date: Wed, 29 May 2002 14:38
24 lines
1851 bytes
1851 bytes
That is exactly what I was asking, thanks for your response. Brandon "Russ Allbery" <rra@stanford.edu> wrote in message news:ylit57aknp.fsf@windlord.stanford.edu... > Brandon <brandon@aqueous.org> writes: > > > does anyone know how to reset the counts in ~news/bin/cnfsstats? > > I'm not sure I know what you're asking, but at a guess, purging all of > your CNFS buffers will do this. You can reset a CNFS buffer by erasing > the first 1024 bytes of it or so; something like: > > dd if=/dev/zero of=/path/to/cycbuff bs=1024 count=1 > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: reset ~news/bin/cnfsstats
Author: those who know me have no need o...
Date: Wed, 29 May 2002 16:44
Date: Wed, 29 May 2002 16:44
10 lines
1167 bytes
1167 bytes
<ad2p4t$s1r$1@news2.cavtel.net> divulged: >That is exactly what I was asking, thanks for your response. you do realize that that command will obliterate all articles in they buffer, yes? -- bringing you boring signatures for 17 years
Re: reset ~news/bin/cnfsstats
Author: Thomas
Date: Wed, 29 May 2002 18:56
Date: Wed, 29 May 2002 18:56
20 lines
1726 bytes
1726 bytes
Russ Allbery wrote: > I'm not sure I know what you're asking, but at a guess, purging all of > your CNFS buffers will do this. You can reset a CNFS buffer by erasing > the first 1024 bytes of it or so; something like: > > dd if=/dev/zero of=/path/to/cycbuff bs=1024 count=1 There's a piece of code in contrib/ that I believe wipes 1/4096th of the buffer and then 25K. That figure also seemed to match the output of cnfsstat, as to where it was positioned in the file before accepting any articles. Didn't dig further - it is quick enough anyway. Thomas
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