.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TALLY.CONTROL 8" .TH TALLY.CONTROL 8 2024-02-12 "INN 2.7.2" "InterNetNews Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME tally.control \- Keep track of newsgroup creations and deletions .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBtally.control\fR < \fIlogfile\fR .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBtally.control\fR is normally daily invoked by \fBscanlogs\fR. It reads its standard input, which should be the \fInewgroup.log\fR and \fIrmgroup.log\fR control log files. They contain a summary line describing the control message and the action taken by \fBcontrolchan\fR, followed by the article indented by four spaces, and a blank line. Then, \fBtally.control\fR updates the cumulative list of newsgroup creations and deletions which is kept in \fIcontrol.log\fR. .PP All these log files reside in the \fIpathlog\fR directory set in \fIinn.conf\fR. In order to generate them, you need to enable control articles logging in control.ctl(5), as explained in the \fIcontrol.log\fR entry of newslog(5). .SH FILES .IX Header "FILES" .IP \fIpathbin\fR/tally.control 4 .IX Item "pathbin/tally.control" The Shell script itself used to tally newsgroup creations and deletions up. .IP \fIpathlog\fR/control.log 4 .IX Item "pathlog/control.log" This file maintains a count of the number of newgroup and rmgroup control messages seen for each newsgroup. The count is of the number of control messages with the indicated arguments, regardless if they were actually processed. All control arguments, including invalid ones, are counted. An example of lines which can be found in that log file is: .Sp .Vb 3 \& 3 Control: newgroup foo.bar moderated \& 3 Control: rmgroup misc.removed \& 1 Control: newgroup misc.created .Ve .SH HISTORY .IX Header "HISTORY" Written by Landon Curt Noll and Rich $alz for InterNetNews. Rewritten and converted to POD by Julien Elie. .SH "SEE ALSO" .IX Header "SEE ALSO" control.ctl(5), news.daily(8), newslog(5), scanlogs(8).