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
25f38bd5
Commit
25f38bd5
authored
Feb 20, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document vcl.list output change
Ref
45239c24
parent
3690dfb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
changes.rst
doc/changes.rst
+12
-0
cli_cmds.h
include/tbl/cli_cmds.h
+11
-1
No files found.
doc/changes.rst
View file @
25f38bd5
...
...
@@ -67,6 +67,18 @@ Varnish Cache trunk (ongoing)
* The undocumented ``-v`` option to the ``backend.list`` cli command
has been removed
* Changed the formatting of the ``vcl.list`` command from::
status state/temperature busy name [labelinfo]
to::
status state temperature busy name [<-|->] [info]
Column width is now dynamic.
See varnish-cli(7) for details on the field values (which remain unchanged).
* The ban facility has been extended by bans access to obj.ttl,
obj.age, obj.grace and obj.keep and additional inequality operators.
...
...
include/tbl/cli_cmds.h
View file @
25f38bd5
...
...
@@ -107,7 +107,17 @@ CLI_CMD(VCL_LIST,
"vcl.list"
,
"vcl.list [-j]"
,
"List all loaded configuration."
,
" ``-j`` specifies JSON output."
,
" Unless ``-j`` is specified for JSON output, "
" the output format is five or seven columns of dynamic width, "
" separated by white space with the fields:
\n\n
"
" * status: active, available or discarded
\n\n
"
" * state: label, cold, warm, or auto
\n\n
"
" * temperature: init, cold, warm, busy or cooling
\n\n
"
" * busy: number of references to this vcl (integer)
\n\n
"
" * name: the name given to this vcl or label
\n\n
"
" * [ ``<-`` | ``->`` ] and label info last two fields)
\n\n
"
" * ``->`` <vcl> : label
\"
points to
\"
the named <vcl>
\n\n
"
" * ``<-`` (<n> label[s]): the vcl has <n> label(s)
\n\n
"
,
0
,
0
)
...
...
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