🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Richard Pratt Tue, 08 Jul 2003 09:10
Scripting the removal of low usage high size groups
#65998
Author: Richard Pratt
Date: Tue, 08 Jul 2003 09:10
12 lines
1458 bytes
Scripting the removal of low usage high size groups

Can anyone recomend perl scripts which monitor the size and the number 
of people using sites.
I'm thinking of automating the removal of those user groups set up for 
the distribution of binaries to allow those using text a better deal.

This is for INN-2.3.2 on Solaris

Kind Regards
Richard
Re: Scripting the removal of low usage high size groups
#66004
Author: Jeffrey M. Vinocur
Date: Tue, 08 Jul 2003 14:11
20 lines
1698 bytes
In article <3F0A8A55.6010605@bt.com>,
Richard Pratt  <richard.pratt@bt.com> wrote:
>
>Can anyone recomend perl scripts which monitor the size and the number 
>of people using sites.

As I already mentioned elsewhere, you might look at the tools in
INN's contrib directory.


>I'm thinking of automating the removal of those user groups set up for 
>the distribution of binaries to allow those using text a better deal.

Are you trying to conserve bandwidth or storage space?  If the
latter, you might do quite well by tweaking storage.conf to keep
text and binary separate...

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Scripting the removal of low usage high size groups
#66698
Author: bill davidsen
Date: Wed, 17 Sep 2003 11:56
26 lines
2308 bytes
In article <3F0A8A55.6010605@bt.com>,
Richard Pratt  <richard.pratt@bt.com> wrote:
| Scripting the removal of low usage high size groups
| 
| Can anyone recomend perl scripts which monitor the size and the number 
| of people using sites.
| I'm thinking of automating the removal of those user groups set up for 
| the distribution of binaries to allow those using text a better deal.
| 
| This is for INN-2.3.2 on Solaris

You can get the average size (and total size) by group from overview,
and the article count from the news daily. Do a divide to get a ratio of
byte-pre-day to readers-per-day and implement policy.

Another way to do this is to generate a dummy feed file, put the groups
and size in a nice text file and chew on it with perl or whatever to
generate per-group stats. I think I'm actually going to do that one, it
seems like a very low impact thing.

-- 
Bill Davidsen <davidsen@tmr.com> CTO, TMR Associates
  As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously.
		-Benjamin Franklin (who would have liked open source)
Re: Scripting the removal of low usage high size groups
#66702
Author: Jeffrey M. Vinocur
Date: Wed, 17 Sep 2003 13:38
20 lines
1919 bytes
In article <bk9i4r$idv$1@newsdbm01.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>
>You can get the average size (and total size) by group from overview,
>and the article count from the news daily. Do a divide to get a ratio of
>byte-pre-day to readers-per-day and implement policy.
>
>Another way to do this is to generate a dummy feed file, put the groups
>and size in a nice text file and chew on it with perl or whatever to
>generate per-group stats. I think I'm actually going to do that one, it
>seems like a very low impact thing.

There are some things in INN's contrib directory that appear to
analyze logs to determine which groups are being read, you might
find those useful as a starting point if nothing else.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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