CNFSSTAT(8)
π CNFSSTAT(8) β the cnfsstat glow-up
okay so bestie, welcome to cnfsstat from InterNetNews β¨ this is the little tool that tells you how full your CNFS buffers are, and honestly? she's iconic for it. Let's get into it π«Ά
β¨ NAME β¨
cnfsstat β show usage of CNFS buffers πΈ (yes that's literally her whole job and she does it beautifully)
π¦ SYNOPSIS π¦
cnfsstat [-ahpPsv] [-c class] [-i seconds] [-l [seconds]] [-m buffer]
π DESCRIPTION π
So first things first, cnfsstat reads pathetc/cycbuff.conf and pathetc/storage.conf to figure out which CNFS buffers even exist. Then she reads the specified cyclic buffers and shows you their usage status. That's the whole vibe check π
Fun fact: cnfsstat can be invoked from rc.news if docnfsstat is set to true in inn.conf, and in that case the result gets written to syslog(3) instead of your terminal. very demure, very mindful π
π₯ OPTIONS π₯
-aβ besides her usual output,cnfsstatalso prints the age of the oldest article in the cycbuff π ngl you might also wanna pair this with-vto see the extended consistency checks. slay.-cclass β only print info for the specified class. lowkey a filter, highkey useful π-hβ print usage information and exit. the classic "help meee" flag π-iseconds β with this one,cnfsstattakes an initial nap of seconds seconds at startup π¦ super handy whencnfsstatgets started at the same time as INN, so she can wait a lil bit before starting her checks. self-care fr fr.-l[seconds] β with this,cnfsstatprints a status snapshot every seconds seconds, and only exits if an error occurs. when seconds isn't given, the default interval is600seconds β°
At each iteration, cnfsstat checks whether cycbuff.conf and storage.conf have been modified, and loads the new configuration if needed. she stays fresh, no cap β¨
-mbuffer β print info about the specified buffer in a format suitable for MRTG π-pβ print an MRTG config file π-Pβ write the PID intopathrun/cnfsstat.pidπ«Ά-sβ write output tosyslog(3)instead of standard output π-vβ write additional information, especially about consistency checks for article storage and the history file π this is the "tell me everything" flag bestie.
π HISTORY π
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews. Converted to POD by Julien Elie. π§ giving credit where credit is due, always.
β SEE ALSO β
cycbuff.conf(5), history(5), inn.conf(5), rc.news(8), storage.conf(5) β go read these too, iykyk π
and that's the whole page bestie! π this little beauty is from INN 2.7.4, dated 2022-07-10, and honestly? she ate. periodt. πβ¨
π¦ 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