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 :
.IP
.EX
# vmount udp!yourserver!nfs /dump
# vmount yourserver /dump
# ls /dump/bob/2005
0510
0511

View file

@ -272,12 +272,30 @@ Set
to
.IR value .
.TP
.BI /graph/ name / param / param / \fR...
A PNG image graphing the named run-time statistic over time.
The details of names and parameters are undocumented;
see
.BI /graph?arg= name [&arg2= name] &graph= type &param= value \fR...
A PNG image graphing the
.IT name
run-time statistic over time.
The details of names and parameters are mostly undocumented;
see the
.BR graphname
array in
.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
.B /log
A list of all debugging logs present in the server's memory.
@ -376,8 +394,7 @@ network address to announce venti service
.TP
.BI httpaddr " netaddr
network address to announce HTTP service
(default
.BR tcp!*!http )
(default is not to start the service)
.TP
.B queuewrites
queue writes in memory

View file

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