Some news utility scripts that we use on news-server.csri.toronto.edu. These are not officially blessed. addgroups is useful when adding a large chunk of newsgroups; for instance, when you expand your feed to cover a new hierarchy. It takes the newsgroups descriptions as input, using the "Moderated" convention to tell moderated ones from unmoderated ones. histgrep locates all news articles with a particular pattern. Useful if a site suddenly sends out a slew of mangled articles with new message-ids and you want to remove them. newscomplain is a script that will generate a set of mailable complaints from a relaynews log. Can be used to periodically notify news admins over the world that their articles are being dropped. newslog analyses relaynews logs and produces a summary. Can handle nntplink and nntpmx-modified relaynews logs. To use newslog, try newslog /usr/lib/news/log. Best run with the news system locked just before aging the log file (or removing it) nntp_awk analyses nntpd, nntpxmit and nntplink logs. To use nntp_awk, try something like egrep 'nntpd|nntplink|nntpxmit' /usr/spool/log/syslog | awk -f nntp_awk if you have use real syslog in nntp, (may use /var/log/news instead of /usr/spool/log/syslog, or suchlike), or cat nntpd.log nntplink.log | awk -f nntp_awk if you use the fake syslog. Best run after you kill nntplink before aging the log file, and then start new nntplinks. nlgrep can be used to extract data for a single site from a file full of newslog output (we save them in a mail archive)