Make venti's doc more accurate

This commit is contained in:
Edouard Klein 2019-05-23 13:04:10 +02:00 committed by Dan Cross
parent 386bd9cae4
commit 185fd7db05
3 changed files with 26 additions and 9 deletions

View file

@ -394,7 +394,7 @@ Mount the backups on a client machine using
.IR vmount : .IR vmount :
.IP .IP
.EX .EX
# vmount udp!yourserver!nfs /dump # vmount yourserver /dump
# ls /dump/bob/2005 # ls /dump/bob/2005
0510 0510
0511 0511

View file

@ -272,12 +272,30 @@ Set
to to
.IR value . .IR value .
.TP .TP
.BI /graph/ name / param / param / \fR... .BI /graph?arg= name [&arg2= name] &graph= type &param= value \fR...
A PNG image graphing the named run-time statistic over time. A PNG image graphing the
The details of names and parameters are undocumented; .IT name
see run-time statistic over time.
The details of names and parameters are mostly undocumented;
see the
.BR graphname
array in
.B httpd.c .B httpd.c
in the venti sources. in the venti code for a list of possible statistics. The
.IR type
of graph defaults to raw, see the
.BR xgraph
function for a list of types. Possible
.IR param
include the timeframe
.BR (t0
and
.BR t1)
, the y limits
.BR (min
and
.BR max)
etc.
.TP .TP
.B /log .B /log
A list of all debugging logs present in the server's memory. A list of all debugging logs present in the server's memory.
@ -376,8 +394,7 @@ network address to announce venti service
.TP .TP
.BI httpaddr " netaddr .BI httpaddr " netaddr
network address to announce HTTP service network address to announce HTTP service
(default (default is not to start the service)
.BR tcp!*!http )
.TP .TP
.B queuewrites .B queuewrites
queue writes in memory queue writes in memory

View file

@ -5,7 +5,7 @@
void void
usage(void) usage(void)
{ {
fprint(2, "usage: printarena arenafile [offset]\n"); fprint(2, "usage: printarena [-o aoffset] arenafile [offset]\n");
threadexitsall("usage"); threadexitsall("usage");
} }