(Display information from the ovdb database)


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

ovdb_stat -Hklmtv [-d database]


ovdb_stat displays information from the ovdb database: BerkeleyDB statistics, newsgroup data, and overview records; and optionally outputs in HTML format.



Newsgroup himark, lowmark, article count, and flag for the given newsgroups (as stored in the ovdb "groupinfo" database) are displayed.


Similar to -g, except the himark, lowmark, and count are calculated by actually scanning the overview records and counting them. This can be a lengthy operation on groups with lots of articles.


Internal data regarding the given newsgroups are displayed.

-r artnumrange

Overview records are retrieved. The artnumrange parameter may be a single article number, or a range of articles in the format low-hi.


Output is presented in HTML format.


Displays lock region statistics, as returned by the BerkeleyDB lock_stat() call.


Displays log region statistics, as returned by the BerkeleyDB log_stat() call.


Displays global memory pool statistics, as returned by the BerkeleyDB memp_stat() call.


Same as -m, and also displays memory pool statistics for each database file.


Displays log region statistics, as returned by the BerkeleyDB txn_stat() call.


Displays ovdb version, and BerkeleyDB version.

-d database

Displays information about the given database, as returned by the BerkeleyDB db->stat() call. This operation may take a long time on busy systems (several minutes or more).


ovdb_stat may be safely killed with the INT, TERM, or HUP signals. It catches those signals and exits cleanly. Do not kill ovdb_stat with other signals, unless absolutely necessary, because it may leave stale locks in the DB environment.


Written by Heath Kehoe <hakehoe@avalon.net> for InterNetNews.



Last modified and spun 2022-12-12