Article View: news.software.nntp
Article #39034feeder-stats.pl diffs
From: Brad Knowles
Date: Mon, 09 Aug 1999 00:00
Date: Mon, 09 Aug 1999 00:00
32 lines
2029 bytes
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>
Technical Details
Message-ID:
<brad-0908991751100001@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-mailShow Full Headers
Complete Article Headers
Message-ID: <brad-0908991751100001@brad.techos.skynet.be> Subject: feeder-stats.pl diffs Date: Mon, 09 Aug 1999 00:00:00 +0000 From: brad@shub-internet.org (Brad Knowles) 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: 510635846 X-Complaints-To: abuse@skynet.be X-Trace: news1.skynet.be 934213876 6422 195.238.1.121 (9 Aug 1999 15:51:16 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ NNTP-Posting-Date: 9 Aug 1999 15:51:16 GMT Newsgroups: news.software.nntp