cssutil(1)
β¨ cssutil(1) β the CRM114 stats-file glow-up station β¨
okay bestie, sit down, we're talking about cssutil, a utility that measures and manipulates CRM114 statistics files. she's giving very much lab-technician-with-a-lash-lift energy. π§ͺπ
πΈ NAME πΈ
cssutil β a utility to measure and manipulate CRM114 statistics files. fr fr that's the whole job description.
π¦ SYNOPSIS π¦
cssutil [.css file] [OPTIONS]
like. that's it. that's the whole vibe.
β οΈ WARNING β οΈ
okay so, tea time: this man page is taken from an older CRM114 version. it's provided as a convenience to Debian users and it may not be up-to-date. if you wanna update it, please send appropriate patches to the Debian bug tracking system. no pressure tho. π«Ά
β¨ OPTIONS β¨
-hβ print basic help. the "hello, what is this" button.-bβ brief mode! print only a summary of the statistics of the.cssfile. (otherwise, it prints a full list of how many bins are in each counter state β every last one of them, and she will not be rushed.)-qβ quiet mode; no warning messages. shhh. π€«-rβ report then exit (no menu). if-ris not specified, the default is to drop into a command-menu based system. so like, do you want the drive-thru or do you want to sit down at the table.-sβ if no css file is found, create a new one with this many buckets. default is 1 million + 1 buckets.-Sβ same as-s, but round up to the next 2^n + 1 boundary. she's an overachiever, she's rounding up. β-vβ print version and exit.-Dβ dump the css file to stdout in the architecture-independent CSV format, suitable for reloading with-Rin an architecture. (note that.cssfiles are a hardware-architecture dependent format β so this is your little translator.)-Rβ create and restore css from the hardware-architecture independent CSV format file (reads from stdin if csv-file is not supplied).
π THE COMMAND MENU π
if -r is not supplied, a menu appears with the following options. note that all of these operations are "in place" and surgical β there is NO undo functionality. wise users will make a backup copy of all .css files before using cssutil to alter values.
bestie. bestie listen to me. back up your files. there is no ctrl+Z. there is no "oopsie". there is only the consequences of your actions. π
-Zβ zero all bins at or below a value. this is useful for deleting all small-count features from the.cssstatistics files, leaving higher-count features untouched.-Sβ subtract a constant from all bins β this rolls all features back a constant amount.-Dβ divide all bins by a constant β this rolls features back linearly, rather than in scalar fashion.-Rβ rescan β regenerate the statistics output that was initially printed.-Pβ pack β re-slot features to optimize access time.-Qβ gracefully exit, saving changes. (note that since these operations are in-place and surgical, there is no option to exit without saving changes. the door only opens one way, babe.)
π DESCRIPTION π
cssutil is a general utility to manipulate and measure the .css format statistics files used by CRM114's Markovian and OSB classifiers. the biggest uses are to check the available space remaining in a .css file, to selectively groom a .css file, and to port architecture-dependent .css files to and from an ASCII CSV format, which is architecture independent. main character energy honestly. π
the cssutil program can be used to create information-less .css files:
cssutil -b -r spam.css
cssutil -b -r nonspam.css
. this creates the full-size files ./spam.css and ./nonspam.css, holding no information. (yes, they're empty. gorgeous, glowing, completely devoid of content. it's giving influencer's personality. π)
the cssutil program can be used check that the .css files are reasonable. invoke cssutil as:
cssutil -b -r spam.css
cssutil -b -r nonspam.css
you should get back a report something like this:
Sparse spectra file spam.css statistics:
Total available buckets : 1048576
Total buckets in use : 506987
Total hashed datums in file : 1605968
Average datums per bucket : 3.17
Maximum length of overflow chain : 39
Average length of overflow chain : 1.84
Average packing density : 0.48
note that the packing density is 0.48; this means that this .css file is about half full of features. once the packing density gets above about 0.9, you will notice that CRM114 will take longer to process text. the penalty is small below packing densities below about 0.95 and only about a factor of 2 at 0.97. best is to keep it below .7 to .8. β¨
π©Ή SHORTCOMINGS π©Ή
note that cssutil as of version 20040816 is NOT capable of dealing with the CRM114 Winnow classifier's floating-point .cow files. worse, cssutil is unaware of it's shortcomings, and will try anyway. the only recourse is to be aware of this issue and not use cssutil on a Winnow classifier floating point .cow format file.
she doesn't know she can't do it. she will simply try. do not let her. π
π HOMEPAGE AND REPORTING BUGS π
http://crm114.sourceforge.net/
π VERSION π
this manpage: $Id: cssutil.azm,v 1.4 2004/08/19 09:23:24 vanbaal Exp $
this manpage describes cssutil as shipped with crm114 version 20040816.BlameClockworkOrange.
π AUTHOR π
William S. Yerazunis. manpage typesetting by Joost van Baal and Shalendra Chhabra. legends, all of them. π«Ά
π COPYRIGHT π
Copyright (C) 2001, 2002, 2003, 2004 William S. Yerazunis. this is free software, copyrighted under the FSF's GPL. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the file COPYING for more details.
π SEE ALSO π
cssmerge(1), cssdiff(1), crm(1)
okay that's the whole thing!! this page is cssutil 20040816.BlameClockworkOra19eAugt2004, and yes that version string looks like someone typed it while falling down the stairs, but we love her. from the CRM114 section, dated 19eAugt2004 apparently. iconic. periodt. π
β¨π¦
π¦ where this page comes from
- debian bookworm: crm114 20100106-10
- debian trixie: crm114 20100106-11
- ubuntu jammy: crm114 20100106-10
- ubuntu noble: crm114 20100106-10
- ubuntu questing: crm114 20100106-11
- ubuntu resolute: crm114 20100106-11build1
- ubuntu stonking: crm114 20100106-12
- Copyright (c) 2004 William S\&. Yerazunis\&. Manpage typesetting by Joost van Baal and Shalendra Chhabra
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms