🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37771

Re: diablo dqueue problem , extra

#37771
From: Kjetil Torgrim Homme
Date: Wed, 02 Jun 1999 00:00
49 lines
2363 bytes
[Brad Knowles]

>       I'd be interested to know what tool you used to perform this
>   analysis.  In particular, this is precisely the sort of thing I'd
>   like to see incorporated into inflow....

It's very simple.  I first created a list of delays in seconds on my
reader box running INN:

=== delay.pl ===
#! /usr/bin/perl -w

$history = "/news/db/history";

use Getopt::Std;
use POSIX;

$opt_p = 1;	# default value is look at last 1% of history file

getopts('p:');

open (HIST, $history) || die "$history: $!\n";
$hist_size = (stat (HIST))[7];
$skip = int ($hist_size * (100 - $opt_p) / 100);
seek (HIST, $skip, SEEK_SET) || die "seek($skip): $!\n";
<HIST>;		# discard first line, it's probably chopped in the middle

$count = 0; $lines = 0;
while (<HIST>) {
    ++$lines;
    if (/(\d+)~[^~]+~(\d+)/) {
	print $1 - $2, "\n";
	++$count;
    }
}
print STDERR "$lines, $count\n";
=== ends ===

delay.pl > /tmp/D

Then I loaded this into BLSS (Berkeley Interactive Statistical System,
blss@stat.berkeley.edu) with the command "read /tmp/D", and asked for
all the statistics with "stat D".  BLSS is not free software, but
there are probably free tools which can do the same thing.


Kjetil T.

Technical Details
Message-ID: <1r1zfuua7a.fsf@haey.ifi.uio.no>
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: <3751AC0E.448FFDC6@online.be> <brad-3105990117090001@dialup583.brussels2.skynet.be> <37527B8C.A723DE09@noc.online.be> <brad-3105991704160001@brad.techos.skynet.be> <brad-3105991720100001@brad.techos.skynet.be> <7j0u1k$7f0$1@info.cs.uofs.edu> <brad-0106991750150001@brad.techos.skynet.be> <7j119i$9mr$1@info.cs.uofs.edu> <1r6757v7cb.fsf@haey.ifi.uio.no> <brad-0206991104340001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <1r1zfuua7a.fsf@haey.ifi.uio.no>
Subject: Re: diablo dqueue problem , extra
Date: Wed, 02 Jun 1999 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <3751AC0E.448FFDC6@online.be> <brad-3105990117090001@dialup583.brussels2.skynet.be> <37527B8C.A723DE09@noc.online.be> <brad-3105991704160001@brad.techos.skynet.be> <brad-3105991720100001@brad.techos.skynet.be> <7j0u1k$7f0$1@info.cs.uofs.edu> <brad-0106991750150001@brad.techos.skynet.be> <7j119i$9mr$1@info.cs.uofs.edu> <1r6757v7cb.fsf@haey.ifi.uio.no> <brad-0206991104340001@brad.techos.skynet.be>
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: 484821405
X-Complaints-To: usenet@mimir.ifi.uio.no
X-Trace: mimir.ifi.uio.no 928322009 980 129.240.64.139 (2 Jun 1999 11:13:29 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 2 Jun 1999 11:13:29 GMT
Newsgroups: news.software.nntp