r5191 - trunk/varnish-cache/doc/sphinx/reference

perbu at varnish-cache.org perbu at varnish-cache.org
Fri Sep 10 14:45:24 CEST 2010


Author: perbu
Date: 2010-09-10 14:45:24 +0200 (Fri, 10 Sep 2010)
New Revision: 5191

Modified:
   trunk/varnish-cache/doc/sphinx/reference/varnishstat.rst
Log:
closes #708

Modified: trunk/varnish-cache/doc/sphinx/reference/varnishstat.rst
===================================================================
--- trunk/varnish-cache/doc/sphinx/reference/varnishstat.rst	2010-09-10 12:28:35 UTC (rev 5190)
+++ trunk/varnish-cache/doc/sphinx/reference/varnishstat.rst	2010-09-10 12:45:24 UTC (rev 5191)
@@ -16,7 +16,7 @@
 SYNOPSIS
 ========
 
-varnishstat [-1] [-f field_list] [-l] [-n varnish_name] [-V] [-w delay]
+varnishstat [-1] [-x] [-f field_list] [-l] [-n varnish_name] [-V] [-w delay]
 
 DESCRIPTION
 ===========
@@ -39,27 +39,31 @@
 
 -w delay    Wait delay seconds between updates.  The default is 1.
 
+-x          Displays the result as XML once.
+
 The columns in the main display are, from left to right:
 
 1.   Value
-
 2.   Per-second average in the period since last update, or a period if the value can not be averaged
-
 3.   Per-second average over process lifetime, or a period if the value can not be averaged
-
 4.   Descriptive text
 
-
 When using the -1 option, the columns in the output are, from left to right:
 
 1.   Symbolic entry name
-
 2.   Value
-
 3.   Per-second average over process lifetime, or a period if the value can not be averaged
-
 4.   Descriptive text
 
+When using the -x option, the output is::
+
+  <stat> 
+    <name>FIELD NAME</name> 
+    <value>FIELD VALUE</value> 
+    <description>FIELD DESCRIPTION</description> 
+  </stat> 
+
+
 SEE ALSO
 ========
 




More information about the varnish-commit mailing list