🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Van-Thieu Tran Tue, 13 Apr 1999 00:00
Show status of backlog-Files
#36536
Author: Van-Thieu Tran
Date: Tue, 13 Apr 1999 00:00
14 lines
812 bytes
Hi,
I have some backlog-Files in ~/spool/innfeed . Now I want so see
the status/progress of innfeed processing these backlog-files.

Why ? : To estimate the time needed to process the backlog-Files.

mfg.

Van-Thieu Tran




Re: Show status of backlog-Files
#36548
Author: Russ Allbery
Date: Tue, 13 Apr 1999 00:00
14 lines
943 bytes
Van-Thieu Tran <vtt@de.uu.net> writes:

> I have some backlog-Files in ~/spool/innfeed . Now I want so see the
> status/progress of innfeed processing these backlog-files.

> Why ? : To estimate the time needed to process the backlog-Files.

I'm not aware of a build-in capability in innfeed to do this,
unfortunately.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Show status of backlog-Files
#36578
Author: barry the unwelcome
Date: Wed, 14 Apr 1999 00:00
34 lines
2267 bytes
On 13 Apr 1999, Russ Allbery wrote:

> > I have some backlog-Files in ~/spool/innfeed . Now I want so see the
> > status/progress of innfeed processing these backlog-files.
> > Why ? : To estimate the time needed to process the backlog-Files.
> 
> I'm not aware of a build-in capability in innfeed to do this,
> unfortunately.

I had hacked something a while back not to estimate the
time, but just to show the status.

It's pretty trivial when you realize that a linecount of
the input file is the number of articles being worked on,
with the first line (if a number) being a byte offset into
the file where a pointer to (close to) the article being
processed is used by innfeed, so that the count of lines
after this point is the number of articles remaining to
be processed.

The output file, if present, contains further articles to
be processed.  Unfortunately, recent innfeeds buffer a
considerable amount of data internally before scribbling
it to the end of the file, so there may  be a few k data
in addition.  By making a count of the unprocessed articles,
you can observe the progress in chewing through backlogs.
Also note that the pointer (first line, or if you use a
really old innfeed it's in a separate file, for which my
hack was hacked) jumps its way through the file, so it may
be missing the in-progress article by a bit.  Thus you get
a general idea rather than an exact measure of the status.


Re: Show status of backlog-Files
#36593
Author: Kai Henningsen
Date: Wed, 14 Apr 1999 00:00
23 lines
1555 bytes
rra@stanford.edu (Russ Allbery)  wrote on 13.04.99 in <yl4smk9nr2.fsf@windlord.stanford.edu>:

> Van-Thieu Tran <vtt@de.uu.net> writes:
>
> > I have some backlog-Files in ~/spool/innfeed . Now I want so see the
> > status/progress of innfeed processing these backlog-files.
>
> > Why ? : To estimate the time needed to process the backlog-Files.
>
> I'm not aware of a build-in capability in innfeed to do this,
> unfortunately.

Hmm. Doesn't doing a "head backlogfile" help? I assumed what I saw in  
there was a pointer into the rest of the file that kept track of innfeed's  
progress.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

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