1CNFSSTAT(8) InterNetNews Documentation CNFSSTAT(8)
2
3
4
6 cnfsstat - Show usage of CNFS buffers
7
9 cnfsstat [-ahpPsv] [-c class] [-i seconds] [-l [seconds]] [-m buffer]
10
12 cnfsstat reads pathetc/cycbuff.conf and pathetc/storage.conf to
13 determine which CNFS buffers are available. It then reads the
14 specified cyclic buffers and shows their usage status. cnfsstat can be
15 invoked from rc.news if docnfsstat is set to true in inn.conf, and the
16 result is written to syslog(3).
17
19 -a Besides its usual output, cnfsstat prints the age of the oldest
20 article in the cycbuff. You may also want to use the -v flag to
21 see extended consistency checks.
22
23 -c class
24 Only information for the specified class is printed.
25
26 -h Print usage information and exit.
27
28 -i seconds
29 With this option, cnfsstat has an initial sleep of seconds seconds
30 at startup. This is useful when cnfsstat is started at the same
31 time as INN, so that it can wait a little before beginning
32 performing its checks.
33
34 -l [seconds]
35 With this option, cnfsstat prints a status snapshot every seconds
36 seconds, and only exits if an error occurs. When unspecified, the
37 default interval is 600 seconds.
38
39 At each iteration, cnfsstat checks whether the cycbuff.conf and
40 storage.conf files have been modified, and loads the new
41 configuration if needed.
42
43 -m buffer
44 Print information about the specified buffer in a format suitable
45 for MRTG.
46
47 -p Print an MRTG config file.
48
49 -P Write PID into pathrun/cnfsstat.pid.
50
51 -s Write output to syslog(3) instead of standard output.
52
53 -v Write additional information, especially about consistency checks
54 for article storage and the history file.
55
57 Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
58 Converted to POD by Julien Elie.
59
60 $Id: cnfsstat.pod 9721 2014-09-24 17:35:46Z iulius $
61
63 cycbuff.conf(5), history(5), inn.conf(5), rc.news(8), storage.conf(5).
64
65
66
67INN 2.6.3 2015-09-12 CNFSSTAT(8)