newsgroup usage
Donald Roeber
droeber at isc.upenn.edu
Mon Dec 13 13:49:55 UTC 2004
On Dec 13, 2004, at 3:02 AM, Praveen Ramaswamy wrote:
> How Do I know usage of a newsgroup...Like a news group is used or not,
> when
> it was last accessed.
>
We keep track of postings in a few hierarchies with this simple command:
egrep '^(upenn|list)' /usr/local/news/db/active | awk '{print $1, $2}'
| sort | gzip
>/usr/local/news/local/etc/cron_stats/newsgroups/group-usage.`date
+\%Y-\%m-\%d`.gz
Hopefully that'll be useful to you.
--
Donald Roeber
ISC Networking
More information about the inn-workers
mailing list