🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Brad Knowles Mon, 09 Aug 1999 00:00
feeder-stats.pl diffs
#39034
Author: Brad Knowles
Date: Mon, 09 Aug 1999 00:00
32 lines
2029 bytes
Folks,

    Well, I've made a few more modifications to feeder-stats.pl.  Now it
calculates input versus output ratios by number of articles
transmitted/received to/from peers, as well as volumes.  Since many peers
use different hostnames for input and output, I worked through the
built-in GetTop1000() routine to try to be more intelligent about which
peers might be which.

    It's not perfect (e.g., remarq.com might show up as #15 one way and
#17 the other, and since #15 != #17, you won't get ratios calculated), but
it's decent enough so far.

    I think some deeper magic would have to be applied to the GetTop1000()
routine in order for this to be significantly improved, and although I'm
capable of making changes of the scale demonstrated here, my Perl skills
are not at such a level that I can manifest *that* level of magic ...
yet.  ;-)


    I was going to post uuencoded gzip'ed diff -c changes, but I decided
it wasn't appropriate (feel free to correct me if I'm wrong ;-).

    I've instead put up the latest version of feeder-stats.pl I have for
anonymous ftp at
<ftp://ftp.shub-internet.org/pub/shub/brad/news/feeder-stats.pl-3.97/>.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: feeder-stats.pl diffs
#39025
Author: Brad Knowles
Date: Mon, 09 Aug 1999 00:00
19 lines
1609 bytes
In article <brad-0908991751100001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

>     Well, I've made a few more modifications to feeder-stats.pl.  Now it
> calculates input versus output ratios by number of articles
> transmitted/received to/from peers, as well as volumes.  Since many peers
> use different hostnames for input and output, I worked through the
> built-in GetTop1000() routine to try to be more intelligent about which
> peers might be which.

    Whoops!  Just realized that it doesn't do volumes -- yet.  Instead, it
repeats the ratios of numbers of articles.  I'll fix this problem tomorrow
and post another version then.  Sorry about that!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: feeder-stats.pl diffs
#39050
Author: Brad Knowles
Date: Tue, 10 Aug 1999 00:00
25 lines
1856 bytes
In article <brad-1008991311420001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

>     Okay, this problem has been fixed.  It didn't take all that much new
> code, either.  Anyway, the latest code is now up at
> <ftp://ftp.shub-internet.org/pub/shub/brad/news/feeder-stats.pl-3.97>. 
> Enjoy!

    Many thanks to Laurent Wacrenier <lwa@maredsous.noc.fr.clara.net>!  He
sent me a one-line fix to a problem that has plagued me ever since I added
the chart for "Top 7 outgoing feeds by volume (KB) per hour".

    Anyway, the version at the URL above has been updated once again
today.  It should now generate much better looking charts for this
section, although I'd still like to see someone add the ability to do a
log scale graph to Chart.pm (GNUplot can do them, why not Chart?).


    Thanks again Laurent!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: feeder-stats.pl diffs
#39059
Author: Brad Knowles
Date: Tue, 10 Aug 1999 00:00
17 lines
1485 bytes
In article <brad-0908991806430001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

>     Whoops!  Just realized that it doesn't do volumes -- yet.  Instead, it
> repeats the ratios of numbers of articles.  I'll fix this problem tomorrow
> and post another version then.  Sorry about that!

    Okay, this problem has been fixed.  It didn't take all that much new
code, either.  Anyway, the latest code is now up at
<ftp://ftp.shub-internet.org/pub/shub/brad/news/feeder-stats.pl-3.97>. 
Enjoy!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

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