Thread View: news.software.nntp
5 messages
5 total messages
Started by John
Fri, 15 Aug 1997 00:00
Utility to measure volume of newsfeed?
Author: John
Date: Fri, 15 Aug 1997 00:00
Date: Fri, 15 Aug 1997 00:00
20 lines
913 bytes
913 bytes
Wondering if anyone knows of a script that can grep through the logs and add up all of the article sizes. Thanks. -- ----- o John Chapman <)> Info Match Communications Inc. >> http://www.infomatch.com - john@infomatch.com -----
Re: Utility to measure volume of newsfeed?
Author: Forrest J. Cavalier III
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
20 lines
1050 bytes
1050 bytes
In article <MPG.e5e6a5b1b329f1398969c@news.infomatch.com>, john@infomatch.com.nospam wrote... > > >Wondering if anyone knows of a script that can grep through >the logs and add up all of the article sizes. > how about awk? If you have the default in your config.data, LOG_SIZE is DO, and you should be getting log entries in "news" which have article size. Forrest Cavalier, Mib Software, INN customization and consulting http://www.mibsoftware.com/innsup.htm
Re: Utility to measure volume of newsfeed?
Author: dball
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
34 lines
1615 bytes
1615 bytes
On Fri, 15 Aug 1997 14:30:43 -0700, john@infomatch.com.nospam (John)
wrote:
>
>Wondering if anyone knows of a script that can grep through
>the logs and add up all of the article sizes.
>
>Thanks.
Dnews has a nice "diskuse" command which you pass an ambiguous group
name (e.g. alt.binaries.*) and it will tell you the total number of
posts currently in the database and their total size. Does INN have
anything like this?
Here's an example
--- Begin Paste ---
D:\>tellnews diskuse alt.binaries.*
200 news1.mid-ga.com DNEWS Version 4.3f, S0, posting OK
479 groups matched {alt.binaries.*} total 7441937k bytes 211938
articles
281 Completed
205 closing connection - goodbye!
--- End Paste ---
-- David Ball
++++++++++++++++++++++++++++++++++++++++++++++++++++
David Ball Middle Georgia WEB Magazine
Homepage: http://www.mid-ga.com/homepage/jdb.html
Zine: http://www.mid-ga.com/ (check our SF section)
E-mail: dball@mid-ga.com mgweb@mylink.net
Re: Utility to measure volume of newsfeed?
Author: Fabien Tassin
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
18 lines
970 bytes
970 bytes
John wrote: > > Wondering if anyone knows of a script that can grep through > the logs and add up all of the article sizes. try innreport 2.1.8_7 with both "news.notice" and "news" log files. (need LOG_SIZE=DO in config.data) ftp://ftp.eerie.fr/pub/usenet/innreport/unsupported/ ex: innreport.pl -nohtml /var/log/news/news.notice /var/log/news/news -- Fabien Tassin -=- tassin@eerie.fr
Re: Utility to measure volume of newsfeed?
Author: Andreas Gunnarsson
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
25 lines
1659 bytes
1659 bytes
>On Fri, 15 Aug 1997 14:30:43 -0700, john@infomatch.com.nospam (John) >wrote: >>Wondering if anyone knows of a script that can grep through >>the logs and add up all of the article sizes. We've added the following entry to our newsfeeds file: logsizes!\ :*:Tf,Wb:sizes This writes the size of each article to the file sizes in the out.going directory, then we have a cron job that adds it up every hour to be able to see how the news traffic varies. You can also sum only incoming articles, outgoing ones, or particular groups. Andreas -- ------------------------------------------------------------------------------ Andreas Gunnarsson Nat: 031-7476081 andreas.gunnarsson@emw.ericsson.se Int: +46 31 7476081 http://www.dd.chalmers.se/~zzlevo/ Fax: 031-7473771
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