commit 185fd7db0513a14c91749bfab3fe7dc30a64f480 from: Edouard Klein via: Dan Cross date: Mon Jan 13 15:10:31 2020 UTC Make venti's doc more accurate commit - 386bd9cae471438a685234556111a01a666ca165 commit + 185fd7db0513a14c91749bfab3fe7dc30a64f480 blob - 89da1da57e46b5cd512685ca2cf564cdd13f95ed blob + 26ab9178b53a5d11f2afe04852115dbe6b915edb --- man/man8/vbackup.8 +++ 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 blob - d95edaa9bfbe37b1475aef220b1b6744ffb969e8 blob + 4fd40df66f37946003e3d22d696d891b33d555e6 --- man/man8/venti.8 +++ 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 blob - 399385caff5a7d899c4849d4aabbd82d82ae43e1 blob + 8650115f23bb96c9a41a674040eed3d0ab20b8c8 --- src/cmd/venti/srv/printarena.c +++ 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"); }