📄 newslog.8
字号:
.TH NEWSLOG 8.SH NAMEnewslog \- maintenance of Usenet log files.SH SYNOPSIS.B scanlogs[.B norotate][.B nonn].B writelog.B name.B text....B innstat.B tally.unwanted.B tally.control.B innlog.awk.SH DESCRIPTION.I Scanlogssummarizes the information recorded in the INN log files (see.IR newslog (5)).By default, it also rotates and cleans out the logs.It is normally invoked by the.IR news.daily (8)script..PPThe following keywords are accepted:.TP.I norotateUsing this keyword disables the rotating and cleaning aspect of the logprocessing: the logs files are only scanned for information and no contentsare altered..TP.I nonnNormally the.I nnlog file is scanned and rotated.Using this keyword disables this function..PPIf.I scanlogsis invoked more than once a day, the ``norotate'' keyword should be usedto prevent premature log cleaning..PPThe.I writelogscript is used to write a log entry or send it as mail.The.I nameparameter specifies the name of the log file where the entry shouldbe written.If it is the word ``mail'' then the entry is mailed to the news administrator,.\" =()<@<NEWSMASTER>@.>()=usenet .The data that is written or sent consists of the.I textgiven on the command line, followed by standard input indented byfour spaces..IR Shlock (1)is used to avoid simultaneous updates to a single log file..PPThe.I innstatscript prints a snapshot of the INN system.It displays the operating mode of the server,as well as disk usage and the status of all log and lock files..PPThe rest of the scripts described here are normally invoked by.IR scanlogs .They parse log files that are described in.IR newslog (5),and the server's article log file described in.IR innd (8)..PP.I Tally.unwantedscript parses the article log file to update the cumulative list ofarticles posted to unwanted newsgroups,.IR unwanted.log ..PP.I Tally.controlreads its standard input, which should be the.I newgroup.logand.I rmgroup.loglog files.It updates the cumulative list of newsgroup creations and deletions,.IR control.log ..PP.I Innlog.awkis an.IR awk (1)script that summarizes the activity that.I inndand.IR nnrpd (8)report to syslog..SH HISTORYWritten by Landon Curt Noll <chongo@toad.com> and Rich $alz<rsalz@uunet.uu.net> for InterNetNews..de R$This is revision \\$3, dated \\$4....R$ $Id: newslog.8,v 1.2 1992/08/04 19:12:39 rsalz Exp $.SH "SEE ALSO"innd(8)newslog(5),news.daily(8),nnrpd(8).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -