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 -f except that the filename is pathetc/filesystems and it is not an error if this file doesn't exist ๐Ÿ˜Œ (this option is used primarily by such things as innstat(8), so that the news administrator can add additional file systems to check to pathetc/filesystems without 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 the buffindexed overview 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