Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!fletcher From: fletcher@cs.utexas.edu (Fletcher Mattox) Newsgroups: news.admin Subject: Re: News Traffic Generator reports Message-ID: <560@ai.cs.utexas.edu> Date: 13 Dec 89 02:14:34 GMT References: <3989@helios.TAMU.EDU> Organization: U. Texas CS Dept., Austin, Texas Lines: 23 In article <3989@helios.TAMU.EDU> jak9213@helios.TAMU.EDU (John Kane) writes: >I would like to get a handle on the traffic that my news system is >handling. Here's how I do it. This method includes headers and counts cross-posted articles only once. A sys entry records the path of every article we get: log:world,all:F:/usr/spool/batch/record/log Then I run something like this nightly from cron to add up all the bytes: ( # how many bytes of news arrived today? cd /usr/spool/batch/record mv log.5 log.6 mv log.4 log.5 mv log.3 log.4 mv log.2 log.3 mv log.1 log.2 mv log log.1 echo -n "`date` " xargs ls -l > meter.log