changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > ventivac / man/8/ventisrv

revision 129: 636d77883598
parent 116: acd72dbb39ff
     1.1--- a/man/8/ventisrv	Mon Aug 20 13:54:40 2007 +0200
     1.2+++ b/man/8/ventisrv	Mon Aug 20 14:24:44 2007 +0200
     1.3@@ -6,6 +6,9 @@
     1.4 [
     1.5 .B -DcCqv
     1.6 ] [
     1.7+.B -I
     1.8+.I indexoffset
     1.9+] [
    1.10 .B -i
    1.11 .I index
    1.12 ] [
    1.13@@ -42,7 +45,10 @@
    1.14 .BR -d .
    1.15 The blocks are prepended with a header that holds the size, score and type of the block, and the starting time of the connection that wrote the block.  The index file is also a normal, append-only file, specified with
    1.16 .BR -i ,
    1.17-that only has headers:  a part of the score, type and offset of the block header in the data file.  At startup, the blocks for the last 128 headers in the index file are verified (the (partial) scores in the headers and actual scores are checked).  Missing headers are added from the data file to the index file if necessary.  Thus, starting ventisrv after truncating the index file will regerenate it from the data file.  Then the index file is read into memory (using only the minimum required bits).
    1.18+that only has headers:  a part of the score, type and offset of the block header in the data file.  At startup, the blocks for the last 128 headers in the index file are verified (the (partial) scores in the headers and actual scores are checked).  With
    1.19+.B -I
    1.20+the byte offset in the index file to start verifying at can be set, it should be a multiple of 15, the index header size.
    1.21+Missing headers are added from the data file to the index file if necessary.  Thus, starting ventisrv after truncating the index file will regerenate it from the data file.  Then the index file is read into memory (using only the minimum required bits).
    1.22 .PP
    1.23 .TP
    1.24 .B -c
    1.25@@ -58,6 +64,9 @@
    1.26 .B -q
    1.27 Quit just before reading the index and data files at startup.  This is useful for learning how much memory is needed for the specified data file size and mean block size configuration.
    1.28 .TP
    1.29+.BI -I " indexoffset"
    1.30+Offset in the index file to start verifying headers with the data file.  Must be a multiple of 15, the index header size.  With this option ventisrv can be used as a diagnostics tool for the index and data file.
    1.31+.TP
    1.32 .BI -i " index"
    1.33 File to use as index file.  Default is
    1.34 .IR index .