Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

innwatch(8) [redhat man page]

INNWATCH(8)						      System Manager's Manual						       INNWATCH(8)

NAME
innwatch - monitor innd. SYNOPSIS
innwatch [ -l logfile ] [ -t seconds ] DESCRIPTION
Innwatch is normally started by rc.news. It periodically -- every <innwatchsleeptime in inn.conf> seconds -- examines the load average, and the number of free blocks and inodes on the spool partition, as described by its control file, innwatch.ctl(5). If the load gets too high, or the disk gets too full, it throttles the server. When the condition restores, it unblocks the server. In addition, on each pass through the loop it will check the logfile <pathlog in inn.conf>/news.crit to see if it has been modified, and send mail to the news administrator if so. Upon receipt of an interrupt signal (SIGINT), innwatch will report its status in the file <pathrun in inn.conf>/innwatch.status. OPTIONS
-l To specify a log file to watch, other than the default of news.crit, use the ``-l'' flag. -t To change the period between check from the default, use the ``-t'' flag. HISTORY
Written by Mike Cooper <mcooper@usc.edu>, with modifications by <kre@munnari.oz.au>, Steve Groom <stevo@elroy.Jpl.Nasa.Gov> and Christophe Wolfhugel <wolf@pasteur.fr>. This is revision 1.6, dated 1998/09/17. SEE ALSO
ctlinnd(8), inn.conf(5), innwatch.ctl(5), shlock(1). INNWATCH(8)

Check Out this Related Man Page

RC.NEWS(8)						    InterNetNews Documentation							RC.NEWS(8)

NAME
rc.news - Start or stop INN daemons SYNOPSIS
rc.news [start | stop] DESCRIPTION
rc.news can be used to start or stop innd and supporting programs. It checks to make sure INN is not already running, handles cases of unclean shutdown, finishes up tasks which might have been interrupted by the preceding shutdown, e-mails certain boot-time warnings to newsmaster (as set in inn.conf), and is generally safer and easier than starting and stopping everything directly. It needs to be run as the news user so that files in pathrun are created with the right ownership (though this is less important for "rc.news stop"). Programs run and stopped by this script include: o Always: innd is started or stopped. o If doinnwatch is true in inn.conf: innwatch is started and stopped. o If docnfsstat is true in inn.conf: cnfsstat is started and stopped. o If ovmethod is set to "ovdb" in inn.conf: ovdb_init is run; ovdb_server and ovdb_monitor are stopped. o If rc.news.local exists in pathbin: rc.news.local is run with argument "start" or "stop" (to perform site-specific startup or shutdown tasks). OPTIONS
"start" If the first argument is "start", or no first argument is given, rc.news initiates INN startup. "stop" If the first argument is "stop", rc.news initiates INN shutdown. It is recommended to throttle the server first as described in ctlinnd(8). EXAMPLES
To start INN and leave certain error messages going to the terminal: su - news -c <pathbin in inn.conf>/rc.news To run INN at startup time from appropriate system boot scripts: su - news -c <pathbin>/rc.news >/dev/console To stop INN (throttling first): <pathbin>/ctlinnd throttle reason su - news -c '<pathbin>/rc.news stop' BUGS
Running "rc.news start" as root is never the right thing to do, so we should at minimum check for this and error, or perhaps change effective user ID. HISTORY
// FIXME: any attribution for rc.news itself? This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for InterNetNews. $Id: rc.news.pod 9340 2011-08-16 13:50:19Z iulius $ SEE ALSO
ctlinnd(8), cnfsstat(8), inn.conf(5), innwatch(8), ovdb(5). INN 2.5.3 2011-08-22 RC.NEWS(8)
Man Page