A cute trick called TALLY, (credit to pkern@utcs.toronto.edu for this super idea) Add an entry to your sys file of the form: # for logging size information on all incoming news cheaply. See # $NEWSBIN/local/tallyho. TALLY:all/all:f:/var/logs/news/tally age that log daily, and run tallyho on it (or your own variant). tally.inn is a driver for INN. Mark. -- From: pkern@gpu.utcs.utoronto.ca (pkern) Subject: Re: Daily Statistics [script] Date: Wed, 9 Dec 1992 19:29:02 GMT In article graaff@dutiws.twi.tudelft.nl (Hans de Graaff) writes: >In article pjh@mccc.edu (Pete Holsberg) writes: >>Has anyone got a program/script that will indicate the number of news >>articles received today in each newgroup specified (and perhaps also the >>number of KB)?? > >Tally report one level deep: > Hierarchy Kbytes # arts. Kb/art > Total 73964 19860 3.724 > > alt 23685 4431 5.345 > rec 17524 5929 2.956 > comp 13504 4349 3.105 [ ... ] >Hmm, 70Megs a day and growing... >Anyway, TALLY is written by pkern@utcs.toronto.edu. If you can't find >it I might be able to dig up a copy with docs and all. Ummm, the output shown above comes from the tallyho script, included below, which was written by Mark Moraes . The input for tallyho comes by way of adding a line like ... TALLY:all/all:f:/usr/lib/news/tally ... to your Cnews sys file (will this work in Bnews?). This causes the spool path of each incoming article, along with its size in bytes, to be logged into /usr/lib/news/tally. Since this file can grow without bound you'll have to take steps to roll it over as often as you see fit (we have a shell script which does that, among other things, at the end of each day). Usage: tallyho [-r0123] tally-filename eg. to get a top-level summary of yesterday's traffic similar to what Hans de Graaf included above, we'd use ... % tallyho -r /usr/lib/news/tally.o Hope this helps. pk. --