🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56380

hoggish readers

#56380
From: Ben Rosengart
Date: Fri, 08 Feb 2002 19:58
25 lines
1451 bytes
I'm currently doing some work on finding out who's reading the most
articles via NNRP.

For a start, I've been doing it by hand:

   $ grep articles news.trace | awk '{print $5 " " $9}' | sort -nr -k2

This gets me output of the form

   nnrpd[pid]: number-of-articles

sorted by number-of-articles.  Then another pass through news.trace:

   $ grep 'nnrpd\[pid\]' news.trace | grep succesful     # [sic]

gets me the username -- except when PIDs wrap, and it gets a little
harder.

I'd love a script to do this.  Does anyone have one?

-- 
Ben Rosengart     (212) 741-4400 x215

"For values of 'whatever'."
Technical Details
Message-ID: <slrna68bf6.ogj.br@panix2.panix.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrna68bf6.ogj.br@panix2.panix.com>
Subject: hoggish readers
Date: Fri, 08 Feb 2002 19:58:27 +0000
From: Ben Rosengart <br@panix.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail
Newsgroups: news.software.nntp
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 24
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader2.panix.com 1013198307 18518 166.84.1.2 (8 Feb 2002 19:58:27 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 8 Feb 2002 19:58:27 +0000 (UTC)
User-Agent: slrn/0.9.7.3 (NetBSD)