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
76302659
Commit
76302659
authored
Jan 29, 2014
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reintroduce the -1, -f and -p options to varnishtop
parent
47d2153f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
varnishtop_options.h
bin/varnishtop/varnishtop_options.h
+24
-0
No files found.
bin/varnishtop/varnishtop_options.h
View file @
76302659
...
...
@@ -31,17 +31,41 @@
#include "vapi/vapi_options.h"
#include "vut_options.h"
#define TOP_OPT_1 \
VOPT("1", "[-1]", "Run once", \
"Instead of a continously updated display, print the" \
" statistics once and exit. Implies ``-d``." \
)
#define TOP_OPT_f \
VOPT("f", "[-f]", "First field only", \
"Sort and group only on the first field of each log entry." \
" This is useful when displaying e.g. stataddr entries," \
" where the first field is the client IP address." \
)
#define TOP_OPT_p \
VOPT("p:", "-p period", "Sampling period", \
"Specified the number of seconds to measure over, the" \
" default is 60 seconds. The first number in the list is" \
" the average number of requests seen over this time" \
" period." \
)
TOP_OPT_1
VSL_OPT_b
VSL_OPT_c
VSL_OPT_C
VUT_OPT_d
VUT_OPT_D
TOP_OPT_f
VUT_OPT_h
VSL_OPT_i
VSL_OPT_I
VSL_OPT_L
VUT_OPT_n
VUT_OPT_N
TOP_OPT_p
VUT_OPT_q
VUT_OPT_r
VSL_OPT_T
...
...
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