.\" $Revision: 1.4.2.2 $
.TH CNFSSTAT 8
.SH NAME
cnfsstat \- show usage of cycbuffs
.SH SYNOPSIS
.B cnfsstat
[
.B \-a
]
[
.B \-c CLASS
]
[
.B \-h
]
[
.B \-l
[
seconds
]
]
[
.B \-m BUFFER
]
[
.B \-P
]
[
.B \-p
]
[
.B \-s
]
.SH DESCRIPTION
.I Cnfsstat
reads
.I <pathetc in inn.conf>/cycbuff.conf
and
.I <pathetc in inn.conf>/storage.conf
to read which cycbuff is available and read specified cycbuffs and
shows the usage of them.
.PP
.I Cnfsstat
can be invoked from
.IR rc.news (8),
if
.I <docnfsstat in inn.conf>
is ``true'', and the result is written to
.IR syslog (3).
.SH OPTIONS
.TP
.B \-a
.I Cnfsstat
prints also the age of the oldest article in the cycbuff.
.TP
.B \-c CLASS
.I Cnfsstat
prints for the specified class.
.TP
.B \-h
.I Cnfsstat
prints usage information.
.TP
.B \-l [ seconds ]
.I Cnfsstat
never exits unless there is an error, and prints the snapshot every
.IR seconds .
The default interval is 600 seconds.
.TP
.B \-m
.I Cnfsstat
prints out information suitable for mrtg.
.TP
.B \-P
.I Cnfsstat
writes PID into
.IR <pathrun\ in\ inn.conf>/cnfsstat.pid .
.TP
.B \-p
.I Cnfsstat
prints out an mrtg config file.
.TP
.B \-s
.I Cnfsstat
prints the result to
.IR syslog (3).
.SH HISTORY
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
.de R$
This is revision \\$3, dated \\$4.
..
.R$ $Id: cnfsstat.8,v 1.4.2.2 2002/09/01 23:38:50 vinocur Exp $
.SH "SEE ALSO"
cycbuff.conf(5),
inn.conf(5),
storage.conf(5).
