🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16433

Re: News article count report needed

#16433
From: Ian Stirling
Date: Fri, 28 Mar 1997 00:00
37 lines
2445 bytes
Brad Groshok (brad@odyssey.on.ca) wrote:
: Does anybody have a script to generate a list of the number of
: articles that are currently being stored in each group.
: and / or 
: also list the HD usage per group named.

Something like  (only counts each article once, nomatter how many xposts)
awk -F\\t '{print $3}' history|awk -F/ '{a[$1]++}END{for(x in a)print x" "a[x]}'|sort

and

cd /usr/lib/news
du -S


: 
: Just thought I'd ask before I did one myself.
: 
: Looking to tune the expire.ctl file a bit.
: 
: TIA
: 

-- 
Ian Stirling.                     Currently designing a new PDA, see homepage.
Homepage:                         http://www.mauve.demon.co.uk/
A fight between good and evil, an epic battle. Darth vader and Luke, 
suddenly in the middle of the fight, Darth pulls Luke to him, and whispers
"I know what you'r getting for christmas Luke" Luke exclaims "But how ??!?"
"It's true Luke, I know What you'r getting for christmas"
Luke tries to ignore this, but wrenches himself free, yelling "How could you
know this?", Vader replies "I felt your presents" 



Technical Details
Message-ID: <0000333C128E@mauve.demon.co.uk>
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: <333a9cc9.242029281@207.107.112.2>

Show Full Headers
Complete Article Headers
Message-ID: <0000333C128E@mauve.demon.co.uk>
Subject: Re: News article count report needed
Date: Fri, 28 Mar 1997 00:00:00 +0000
From: Ian Stirling <0000333C128E@mauve.demon.co.uk>
References: <333a9cc9.242029281@207.107.112.2>
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: 229065717
X-Mail2News-User: root@mauve.demon.co.uk
MMDF-Warning: Parse error in original version of preceding line at relay-7.mail.demon.net
X-Warning0: For Any unsolicited commercial Email, sent to the address
X-Warning1: in this message I reserve the right to levy a charge of
X-Warning2: 100 pounds sterling per message, plus 10 pounds sterling per
X-Warning3: 100 lines of message body, plus any legal or other costs
X-Mail2News-Path: relay-7.mail.demon.net!relay-6.mail.demon.net!mauve.demon.co.uk
X-Notice0: The From: address in this message is only valid for 72 hours,
X-Notice1: Any mail sent to the address after that time, will be bounced,
X-Notice2: and you will have to act on instructions in the message-body,
X-Notice3: to get email to me.
X-Notice4: Thank spammers the world over for this.
Newsgroups: news.software.nntp