3 ovdb_stat - Display information from the ovdb database
7 B<ovdb_stat> B<-Hgci> [B<-r> I<artnumrange>] newsgroup [newsgroup ...]
9 B<ovdb_stat> B<-Hklmtv> [B<-d> I<database>]
13 B<ovdb_stat> displays information from the ovdb database: BerkeleyDB
14 statistics, newsgroup data, and overview records; and optionally
15 outputs in HTML format.
23 Newsgroup himark, lowmark, article count, and flag for the given newsgroups
24 (as stored in the ovdb "groupinfo" database) are displayed.
28 Similar to B<-g>, except the himark, lowmark, and count are calculated
29 by actually scanning the overview records and counting them.
30 This can be a lengthy operation on groups with lots of articles.
34 Internal data regarding the given newsgroups are displayed.
36 =item B<-r> I<artnumrange>
38 Overview records are retrieved. The I<artnumrange> parameter may be
39 a single article number, or a range of articles in the format C<low-hi>.
43 Output is presented in HTML format.
47 Displays lock region statistics, as returned by the BerkeleyDB lock_stat()
52 Displays log region statistics, as returned by the BerkeleyDB log_stat()
57 Displays global memory pool statistics, as returned by the
58 BerkeleyDB memp_stat() call.
62 Same as B<-m>, and also displays memory pool statistics for each
67 Displays log region statistics, as returned by the BerkeleyDB txn_stat()
72 Displays ovdb version, and BerkeleyDB version.
74 =item B<-d> I<database>
76 Displays information about the given database, as returned by the
77 BerkeleyDB db->stat() call. This operation may take a long time
78 on busy systems (several minutes or more).
84 ovdb_stat may be safely killed with the INT, TERM, or HUP signals.
85 It catches those signals and exits cleanly.
86 Do not kill ovdb_stat with other signals, unless absolutely necessary,
87 because it may leave stale locks in the DB environment.
91 Written by Heath Kehoe E<lt>hakehoe@avalon.netE<gt> for InterNetNews.