OVDB_STAT(8)

πŸ¦‹ OVDB_STAT(8) β€” ok bestie, let's peek inside the ovdb database

So this is ovdb_stat, part of the InterNetNews docs situation, and it's literally your little window into the ovdb database. Let's get into it πŸ’…


✨ NAME ✨

ovdb_stat β€” display information from the ovdb database. That's it, that's the job, and she does it well 🫢


🌸 SYNOPSIS 🌸

ovdb_stat [-Hgci] [-r artnumrange] newsgroup [newsgroup ...]

ovdb_stat -HklmMtv [-d database]

Two whole modes, bestie. Pick your fighter ✨


πŸ’– DESCRIPTION πŸ’–

okay so ovdb_stat displays information from the ovdb database β€” and that means Berkeley DB statistics, newsgroup data, and overview records. You can optionally get the output in HTML format, which is lowkey iconic of her 🌈

Also, tiny side note you'll want in your notes app: the number of overview records stored in the database can be obtained with the inndf -n command. Different tool, same vibe, iykyk πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -g β€” shows you the newsgroup high water mark, low marker mark, article count, and flag for the newsgroups you name (as stored in the ovdb groupinfo database). Straight from the source, no cap πŸ’…
  • -c β€” similar to -g, except the high water mark, low water mark, and article count are calculated by actually scanning the overview records and counting them. Fr fr this can be a lengthy operation on groups with lots of articles, so maybe go get a snack 😭
  • -i β€” displays internal data regarding the given newsgroups. The behind-the-scenes lore 🧚
  • -r artnumrange β€” retrieves overview records! The artnumrange parameter may be a single article number, or a range of articles in the format low-high. Chef's kiss πŸ“
  • -H β€” output is presented in HTML format. Aesthetic mode: activated ✨
  • -k β€” displays lock region statistics, as returned by the Berkeley DB lock_stat() call πŸ”₯
  • -l β€” displays log region statistics, as returned by the Berkeley DB log_stat() call 🌸
  • -m β€” displays global memory pool statistics, as returned by the Berkeley DB memp_stat() call πŸ’œ
  • -M β€” same as -m, and also displays memory pool statistics for each database file. She's thorough πŸ‘‘
  • -t β€” displays log region statistics, as returned by the Berkeley DB txn_stat() call ⭐
  • -v β€” displays ovdb version, and Berkeley DB version. Version check, bestie 🌈
  • -d database β€” displays information about the given database, as returned by the Berkeley DB db->stat() call. Heads up though: this operation may take a long time on busy systems (several minutes or more) β€” like, go touch grass and come back πŸ’€

πŸ’€ WARNINGS πŸ’€

okay this part matters, so listen up 🫢

ovdb_stat may be safely killed with the INT, TERM, or HUP signals. She catches those signals and exits cleanly β€” very demure, very mindful.

Do not kill ovdb_stat with other signals, unless absolutely necessary, because it may leave stale locks in the database environment. Not the vibe. Not the moment. πŸ™ˆ

🌈 HISTORY 🌈

Written by Heath Kehoe <hakehoe@avalon.net> for InterNetNews. Giving credit where credit is due, periodt πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

inndf(8), ovdb(5). Go read those too, bestie, they're part of the lore ✨


and that's the whole page!! brought to you by INN 2.7.4, dated 2023-03-19 β€” mwah, slay, go check your database πŸ’…πŸŽ€

πŸ“¦ 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