diff options
author | Edouard Klein <edouardklein@gmail.com> | 2019-05-23 13:04:10 +0200 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2020-01-13 10:10:31 -0500 |
commit | 185fd7db0513a14c91749bfab3fe7dc30a64f480 (patch) | |
tree | 1028bb4302d1d0b72661ed7174e7c394c52f82ec | |
parent | 386bd9cae471438a685234556111a01a666ca165 (diff) | |
download | plan9port-185fd7db0513a14c91749bfab3fe7dc30a64f480.tar.gz plan9port-185fd7db0513a14c91749bfab3fe7dc30a64f480.tar.bz2 plan9port-185fd7db0513a14c91749bfab3fe7dc30a64f480.zip |
Make venti's doc more accurate
-rw-r--r-- | man/man8/vbackup.8 | 2 | ||||
-rw-r--r-- | man/man8/venti.8 | 31 | ||||
-rw-r--r-- | src/cmd/venti/srv/printarena.c | 2 |
3 files changed, 26 insertions, 9 deletions
diff --git a/man/man8/vbackup.8 b/man/man8/vbackup.8 index 89da1da5..26ab9178 100644 --- a/man/man8/vbackup.8 +++ b/man/man8/vbackup.8 @@ -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 diff --git a/man/man8/venti.8 b/man/man8/venti.8 index d95edaa9..4fd40df6 100644 --- a/man/man8/venti.8 +++ b/man/man8/venti.8 @@ -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 ¶m= 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 diff --git a/src/cmd/venti/srv/printarena.c b/src/cmd/venti/srv/printarena.c index 399385ca..8650115f 100644 --- a/src/cmd/venti/srv/printarena.c +++ b/src/cmd/venti/srv/printarena.c @@ -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"); } |