vinylstat(1)
๐ฟ vinylstat(1) โ Vinyl Cache statistics ๐ฟ
okay so this is vinylstat(1) from the General Commands Manual, and itโs literally here to give you the stats tea on a running vinyld(1) instance. Bestie, itโs giving observability with main character energy. ๐
๐ธ NAME ๐ธ
vinylstat โ Vinyl Cache statistics.
โจ SYNOPSIS โจ
vinylstat [-1] [-c] [-f <glob>] [-h] [-I <glob>] [-j] [-l] [-n
<workdir>] [-r] [-t <seconds|off>] [-V] [-X <glob>] [-x]
๐ DESCRIPTION ๐
The vinylstat utility displays statistics from a running vinyld(1) instance. No cap, itโs your little stats bestie for the Vinyl Cache.
The following options are available โ every single one, no skipping:
-1โ Instead of presenting a continuously updated display, print the statistics tostdout. This is the default when standard output is being redirected.-cโ Presents a continuously updated, interactive display. This is the default when the standard output isnโt redirected.-f <glob>โ Legacy field filtering glob. Usebackslashto escape characters. If the argument starts with^it is used as an exclusive glob. Multiple-farguments may be given. Legacy filtering globs are run along with inclusion globs (-Iarguments) and exclusion globs (-Xarguments) in order on a first-match basis.-hโ Print program usage and exit.-I <glob>โ Field inclusion glob. Usebackslashto escape characters. Multiple-Iarguments may be given. Exclusion globs are run in order along with exclusion globs (-Xarguments) and legacy filtering globs (-farguments) on a first-match basis.-jโ Print statistics tostdoutas JSON.-lโ Lists the available fields to use with the-foption.-n <workdir>โ Specify the vinyl working directory of the instance to attach to. Seevinyld(1)-noption documentation for additional information and defaults.-rโ Toggle raw or adjusted gauges, adjusted is the default.-t <seconds|off>โ Timeout before returning error on initial VSM connection. If set, the VSM connection is retried every0.5seconds for this many seconds. If zero, the connection is attempted only once and will fail immediately if unsuccessful. If set to"off", the connection will not fail, allowing the utility to start and wait indefinitely for thevinyldinstance to appear. Defaults to5seconds.-Vโ Print version information and exit.-X <glob>โ Field exclusion glob. Usebackslashto escape characters. Multiple-Xarguments may be given. Exclusion globs are run in order along with inclusion globs (-Iarguments) and legacy filtering globs (-farguments) on a first-match basis.-xโ Print statistics tostdoutas XML.--optstringโ Print theoptstringparameter togetopt(3)to help writing wrapper scripts.
๐ง CURSES MODE ๐ง
When neither -1, -j nor -x options are given, the application starts up in curses mode. This shows a continuously updated view of the counter values, along with their description. Itโs honestly kind of iconic.
The top area shows process uptime information.
The center area shows a list of counter values.
The bottom area shows the description of the currently selected counter.
On startup, only counters at INFO level are shown.
๐ Columns ๐
The following columns are displayed, from left to right:
- Name โ The name of the counter.
- Current โ The current value of the counter.
- Change โ The average per second change over the last update interval.
- Average โ The average value of this counter over the runtime of the
vinylddaemon, or a period if the counter canโt be averaged. - Avg_10 โ The moving average over the last 10 update intervals.
- Avg_100 โ The moving average over the last 100 update intervals.
- Avg_1000 โ The moving average over the last 1000 update intervals.
๐ฎ Key bindings ๐ฎ
<h>โ Toggle the help screen.<UP>orkโ Navigate the counter list one line up.<DOWN>orjโ Navigate the counter list one line down.<PAGEUP>orborCTRL-Bโ Navigate the counter list one page up.<PAGEDOWN>orSPACEorCTRL-Fโ Navigate the counter list one page down.<HOME>orgโ Navigate the counter list to the top.<END>orGโ Navigate the counter list to the bottom.<d>โ Toggle between showing and hiding unseen counters. Unseen counters are those that have been zero for the entire runtime ofvinylstat. Defaults to hide unseen counters.<r>โ Toggle between showing raw and adjusted gauges. When a gauge is decremented faster than it is incremented, it may appear as a large integer with its most significant bit set. By default such values are adjusted to zero.<e>โ Toggle scaling of values.<v>โ Increase verbosity. Defaults to only showing informational counters.<V>โ Decrease verbosity. Defaults to only showing informational counters.<q>โ Quit.<CTRL+T>โ Sample now.<0>โ Reset averages.<+>โ Increase refresh interval.<->โ Decrease refresh interval.
๐ค OUTPUTS ๐ค
The XML output format is:
<vinylstat timestamp="YYYY-MM-DDTHH:mm:SS">
<stat>
<name>FIELD NAME</name>
<value>FIELD VALUE</value>
<flag>FIELD SEMANTICS</flag>
<format>FIELD DISPLAY FORMAT</format>
<description>FIELD DESCRIPTION</description>
</stat>
[..]
</vinylstat>
The JSON output format is:
{
"timestamp": "YYYY-MM-DDTHH:mm:SS",
"FIELD NAME": {
"description": "FIELD DESCRIPTION",
"flag": "FIELD SEMANTICS", "format": "FIELD DISPLAY FORMAT",
"value": FIELD VALUE
},
"FIELD NAME": {
"description": "FIELD DESCRIPTION",
"flag": "FIELD SEMANTICS", "format": "FIELD DISPLAY FORMAT",
"value": FIELD VALUE
},
[..]
}
Timestamp is the time when the report was generated by vinylstat.
๐ SEE ALSO ๐
๐ AUTHORS ๐
This manual page was written by Dag-Erling Smรธrgrav, Per Buer, Lasse Karstensen and Martin Blix Grydeland.
Cute sign-off time: source = General Commands Manual, version = vinylstat(1), date = not listed on the original page. So thatโs the whole vinylstat(1) page, bestie โ go check those vinyl stats and slay ๐โจ๐
๐ฆ where this page comes from
- arch rolling: vinyl-cache 9.1.0-1 ยท BSD-2-Clause
- nixpkgs unstable: vinyl-cache 9.0.1
- ๐ the page's license: BSD-2-Clause
- Copyright (c) 2010-2020 Varnish Software AS
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms