Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
a7ee2b72
Commit
a7ee2b72
authored
Jan 08, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort options, fix spelling and update formats
parent
e39ac619
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
25 deletions
+22
-25
varnishstat.rst
doc/sphinx/reference/varnishstat.rst
+22
-25
No files found.
doc/sphinx/reference/varnishstat.rst
View file @
a7ee2b72
...
...
@@ -65,7 +65,7 @@ CURSES MODE
===========
When neither -1, -j or -x options are given, the application starts up
in curses mode. This shows a continously updated view of the counter
in curses mode. This shows a contin
u
ously updated view of the counter
values, along with their description.
The top area shows process uptime information.
...
...
@@ -119,17 +119,17 @@ The following keys control the interactive display:
<PAGEDOWN> or <SPACE>
Navigate the counter list one page down.
<d>
Toggle between showing and hiding unseen counters. Unseen
counters are those that has been zero for the entire runtime
of varnishstat. Defaults to hide unseen counters.
<g>
Go to the top of the counter list.
<G>
Go to the bottom of the counter list.
<d>
Toggle between showing and hiding unseen counters. Unseen
counters are those that has been zero for the entire runtime
of varnishstat. Defaults to hide unseen counters.
<v>
Cycle through the verbosity levels. Defaults to only showing
informational counters.
...
...
@@ -145,11 +145,17 @@ XML Output
When using the -x option, the output is::
<stat>
<name>FIELD NAME</name>
<value>FIELD VALUE</value>
<description>FIELD DESCRIPTION</description>
</stat>
<varnishstat timestamp="YYYY-MM-DDTHH:mm:SS">
<stat>
<type>FIELD TYPE</type>
<ident>FIELD IDENT</ident>
<name>FIELD NAME</name>
<value>FIELD VALUE</value>
<flag>FIELD FORMAT</flag>
<description>FIELD DESCRIPTION</description>
</stat>
[..]
</varnishstat>
JSON OUTPUT
===========
...
...
@@ -158,24 +164,15 @@ With -j the output format is::
{
"timestamp": "YYYY-MM-DDTHH:mm:SS",
"client_conn": {
"value": 0, "flag": "a",
"description": "Client connections accepted"
},
"client_drop": {
"value": 0, "flag": "a",
"description": "Connection dropped, no sess/wrk"
},
"LCK.backend.creat": {
"type": "LCK", "ident": "backend", "value": 1,
"flag": "a", "description": "Created locks"
},
"FIELD NAME": {"type": "FIELD TYPE", "ident": "FIELD IDENT", "value": FIELD VALUE, "flag": "FIELD FORMAT", "description": "FIELD DESCRIPTION"},
[..]
}
Timestamp is the time when the report was generated by varnishstat.
Type and ident are optional. Timestamp is the time when the report was
generated by varnishstat.
Repeated output with -1, -x or -j will have a single empty line (\\n) between each block of output.
Repeated output with -1, -x or -j will have a single empty line (\\n)
between each block of output.
SEE ALSO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment