INNDF(8)
๐ฆ INNDF(8) โ InterNetNews Documentation ๐ฆ
okay so bestie, this is the manual page for inndf, and it's part of InterNetNews Documentation ๐ let's get into every single deet because we don't skip anything here โจ
๐ธ NAME ๐ธ
inndf โ reports free disk space, free inodes, and overview information ๐พโจ
โจ SYNOPSIS โจ
inndf [-Fhi] [-f filename] directory [directory ...]
inndf -n
inndf -o
๐ DESCRIPTION ๐
okay so story time: inndf was originally a replacement for "df | awk" in innwatch.ctl(5) and innstat(8) ๐ and now it also reports various other usage information about INN's storage that df(1) literally doesn't understand ๐ญ it's giving main character energy because inndf doesn't sync, forks less, and is generally less complicated than df(1) โ no cap ๐
its default behavior is to report free kilobytes (not disk blocks), or free inodes if -i is used, in the file systems holding the directories you give on the command line ๐ซถ (a kilobyte in this case is 1024 bytes, just so we're clear ๐ง) if only one directory is given, the output will be a simple number; if more than one directory is given, the output will be formatted for human readability โ iconic โจ
if enableoverview is set to true in inn.conf, inndf can also be used to get information about the overview database ๐ with the -n option, it reports a count of the total number of overview records stored ๐ฅ with -o, it reports the percentage of space used in the overview database (for those overview methods where this is meaningful data) ๐
๐ OPTIONS ๐
-f filenameโ filename should contain a list of directories to use in addition to those given by the arguments, one per line ๐ blank lines and anything after#on any line are ignored ๐ซ-Fโ like-fexcept that the filename ispathetc/filesystemsand it is not an error if this file doesn't exist ๐ (this option is used primarily by such things asinnstat(8), so that the news administrator can add additional file systems to check topathetc/filesystemswithout having to modify the script ๐ ๏ธ)-hโ print a usage message and exit ๐-iโ report the number of free inodes rather than the amount of free disk space ๐งฎ-nโ report the total number of records in the overview database ๐ note that crossposted articles will have one overview record for each newsgroup they're posted to ๐-oโ report the percentage usage of the overview database space ๐ this is only meaningful for overview methods that pre-allocate a certain amount of space rather than grow to accommodate more records; currently, this flag is only useful for thebuffindexedoverview method ๐
๐ฆ EXAMPLES ๐ฆ
print the free kilobytes in pathspool as a simple number:
inndf <pathspool in inn.conf>
report the free inodes in pathnews and pathspool in a format designed for human readability:
inndf -i <pathnews> <pathspool>
the same, but also add in all file systems in pathetc/filesystems:
inndf -i -F <pathnews> <pathspool>
print out the number of overview records and the percentage space used by a buffindexed overview database:
inndf -no
๐ HISTORY ๐
inndf was written by Ian Dickinson <idickins@fore.com> ๐๏ธ this manual page was written by Swa Frantzen <Swa.Frantzen@belgium.eu.net> ๐ thanks also to the following folks for ports, patches, and comments:
- Mahesh Ramachandran <rr@eel.ufl.edu>
- Chuck Swiger <chuck@its.com>
- Sang-yong Suh <sysuh@kigam.re.kr>
- Brad Dickey <bdickey@haverford.edu>
- Taso N. Devetzis <devetzis@snet.net>
- Wei-Yeh Lee <weiyeh@columbia.edu>
- Jeff Garzik <jeff.garzik@spinne.com>
and to all the other folks I met and worked with during my 10 years as a newsadmin ๐ซถ
Katsuhiro Kondou added the -n and -o options โจ Russ Allbery added reporting of percentage free disk space ๐พ support for -f and -F was added by Fabien Tassin <fta@sofaraway.org> ๐
๐ SEE ALSO ๐
df(1), innwatch.ctl(5), innstat(8) ๐
and that's the whole page bestie! this is INN 2.7.4, dated 2022-07-10 โ now go run inndf and slay your storage checks ๐
๐โจ
๐ฆ where this page comes from
- arch rolling: inn 2.7.4-4 ยท ISC
- epel 10: inn 2.7.4-5.el10_3 ยท ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms