🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36578

Re: Show status of backlog-Files

#36578
From: 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.


Technical Details
Message-ID: <Pine.LNX.4.05.9904141757350.26642-100000@penguin.mendelu.cz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7evmuu$g7n$1@goof.de.uu.net> <yl4smk9nr2.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.05.9904141757350.26642-100000@penguin.mendelu.cz>
Subject: Re: Show status of backlog-Files
Date: Wed, 14 Apr 1999 00:00:00 +0000
From: barry the unwelcome <barry@vszbr.invalid>
References: <7evmuu$g7n$1@goof.de.uu.net> <yl4smk9nr2.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 466341259
Sender: news@news.muni.cz (News Admin)
X-Nntp-Posting-Host: penguin.mendelu.cz
X-Sender: barry@penguin.mendelu.cz
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: My previous employer disavows all my actions
Mime-Version: 1.0
Newsgroups: news.software.nntp