3 inndf - Report free disk, inodes, and overview information
7 B<inndf> [B<-Fhi>] [B<-f> I<filename>] I<directory> [I<directory> ...]
15 B<inndf> was originally a replacement for C<df | awk> in innwatch.ctl(5)
16 and innstat(8), and now also reports various other usage information about
17 INN's storage that df(1) doesn't understand. B<inndf> doesn't sync, forks
18 less, and is generally less complicated than df(1).
20 Its default behavior is to report free kilobytes (not disk blocks), or
21 free inodes if B<-i> is used, in the file systems holding the directories
22 given on the command line. (A kilobyte in this case is 1024 bytes.) If
23 only one directory is given, the output will be a simple number; if more
24 than one directory is given, the output will be formatted for human
27 If I<enableoverview> is set to true in F<inn.conf>, B<inndf> can also be
28 used to get information about the overview database. With the B<-n>
29 option, it reports a count of the total number of overview records stored.
30 With B<-o>, it reports the percentage of space used in the overview
31 database (for those overview methods where this is meaningful data).
37 =item B<-f> I<filename>
39 I<filename> should contain a list of directories to use in addition to
40 those given by the arguments, one per line. Blank lines and anything
41 after C<#> on any line are ignored.
45 Like B<-f> execpt that the filename is I<pathetc>/filesystems and it is
46 not an error if this file doesn't exist. (This option is used primarily
47 by such things as innstat(8), so that the news administrator can add
48 additional file systems to check to I<pathetc>/filesystems without having
49 to modify the script.)
53 Print a usage message and exit.
57 Report the number of free inodes rather than the amount of free disk
62 Report the total number of records in the overview database. Note that
63 crossposted articles will have one overview record for each newsgroup
68 Report the percentage usage of the overview database space. This is only
69 meaningful for overview methods that pre-allocate a certain amount of
70 space rather than grow to accomodate more records. Currently, this flag
71 is only useful for the buffindexed overview method.
77 Print the free kilobytes in /news/spool as a simple number:
81 Report the free inodes in /usr/local/news and /news/spool in a format
82 designed for human readability:
84 inndf -i /usr/local/news /news/spool
86 The same, but also add in all file systems in I<pathetc>/filesystems:
88 inndf -i -F /usr/local/news /news/spool
90 Print out the number of overview records and the percentage space used by
91 a buffindexed overview database:
97 B<inndf> was written by Ian Dickinson <idickins@fore.com>. This manual
98 page was written by Swa Frantzen <Swa.Frantzen@belgium.eu.net>. Thanks
99 also to the following folks for ports, patches, and comments:
101 Mahesh Ramachandran <rr@eel.ufl.edu>
102 Chuck Swiger <chuck@its.com>
103 Sang-yong Suh <sysuh@kigam.re.kr>
104 Brad Dickey <bdickey@haverford.edu>
105 Taso N. Devetzis <devetzis@snet.net>
106 Wei-Yeh Lee <weiyeh@columbia.edu>
107 Jeff Garzik <jeff.garzik@spinne.com>
109 and to all the other folks I met and worked with during my 10 years as a
112 Katsuhiro Kondou added the B<-n> and B<-o> options. Russ Allbery added
113 reporting of percentage free disk space. Support for B<-f> and B<-F> was
114 added by Fabien Tassin <fta@sofaraway.org>.
118 df(1), innwatch.ctl(5), innstat(8).