1INNDF(8) InterNetNews Documentation INNDF(8)
2
3
4
6 inndf - Report free disk, inodes, and overview information
7
9 inndf [-Fhi] [-f filename] directory [directory ...]
10
11 inndf -n
12
13 inndf -o
14
16 inndf was originally a replacement for "df | awk" in innwatch.ctl(5)
17 and innstat(8), and now also reports various other usage information
18 about INN's storage that df(1) doesn't understand. inndf doesn't sync,
19 forks less, and is generally less complicated than df(1).
20
21 Its default behavior is to report free kilobytes (not disk blocks), or
22 free inodes if -i is used, in the file systems holding the directories
23 given on the command line. (A kilobyte in this case is 1024 bytes.)
24 If only one directory is given, the output will be a simple number; if
25 more than one directory is given, the output will be formatted for
26 human readability.
27
28 If enableoverview is set to true in inn.conf, inndf can also be used to
29 get information about the overview database. With the -n option, it
30 reports a count of the total number of overview records stored. With
31 -o, it reports the percentage of space used in the overview database
32 (for those overview methods where this is meaningful data).
33
35 -f filename
36 filename should contain a list of directories to use in addition to
37 those given by the arguments, one per line. Blank lines and
38 anything after "#" on any line are ignored.
39
40 -F Like -f except that the filename is pathetc/filesystems and it is
41 not an error if this file doesn't exist. (This option is used
42 primarily by such things as innstat(8), so that the news
43 administrator can add additional file systems to check to
44 pathetc/filesystems without having to modify the script.)
45
46 -h Print a usage message and exit.
47
48 -i Report the number of free inodes rather than the amount of free
49 disk space.
50
51 -n Report the total number of records in the overview database. Note
52 that crossposted articles will have one overview record for each
53 newsgroup they're posted to.
54
55 -o Report the percentage usage of the overview database space. This
56 is only meaningful for overview methods that pre-allocate a certain
57 amount of space rather than grow to accommodate more records.
58 Currently, this flag is only useful for the buffindexed overview
59 method.
60
62 Print the free kilobytes in pathspool as a simple number:
63
64 inndf <pathspool in inn.conf>
65
66 Report the free inodes in pathnews and pathspool in a format designed
67 for human readability:
68
69 inndf -i <pathnews> <pathspool>
70
71 The same, but also add in all file systems in pathetc/filesystems:
72
73 inndf -i -F <pathnews> <pathspool>
74
75 Print out the number of overview records and the percentage space used
76 by a buffindexed overview database:
77
78 inndf -no
79
81 inndf was written by Ian Dickinson <idickins@fore.com>. This manual
82 page was written by Swa Frantzen <Swa.Frantzen@belgium.eu.net>. Thanks
83 also to the following folks for ports, patches, and comments:
84
85 Mahesh Ramachandran <rr@eel.ufl.edu>
86 Chuck Swiger <chuck@its.com>
87 Sang-yong Suh <sysuh@kigam.re.kr>
88 Brad Dickey <bdickey@haverford.edu>
89 Taso N. Devetzis <devetzis@snet.net>
90 Wei-Yeh Lee <weiyeh@columbia.edu>
91 Jeff Garzik <jeff.garzik@spinne.com>
92
93 and to all the other folks I met and worked with during my 10 years as
94 a newsadmin.
95
96 Katsuhiro Kondou added the -n and -o options. Russ Allbery added
97 reporting of percentage free disk space. Support for -f and -F was
98 added by Fabien Tassin <fta@sofaraway.org>.
99
101 df(1), innwatch.ctl(5), innstat(8).
102
103
104
105INN 2.7.1 2022-07-10 INNDF(8)