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
ac967968
Commit
ac967968
authored
Jan 19, 2015
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a 'e' key binding in varnishstat to disable/enable scaling of values
parent
9863f3e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+5
-0
varnishstat.rst
doc/sphinx/reference/varnishstat.rst
+3
-0
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
ac967968
...
...
@@ -125,6 +125,7 @@ static int current = 0;
static
int
rebuild
=
0
;
static
int
redraw
=
0
;
static
int
sample
=
0
;
static
int
scale
=
1
;
static
double
t_sample
=
0
.;
static
double
interval
=
1
.;
...
...
@@ -869,6 +870,10 @@ handle_keypress(int ch)
hide_unseen
=
1
-
hide_unseen
;
rebuild
=
1
;
break
;
case
'e'
:
scale
=
1
-
scale
;
rebuild
=
1
;
break
;
case
'g'
:
current
=
0
;
page_start
=
0
;
...
...
doc/sphinx/reference/varnishstat.rst
View file @
ac967968
...
...
@@ -124,6 +124,9 @@ The following keys control the interactive display:
counters are those that has been zero for the entire runtime
of varnishstat. Defaults to hide unseen counters.
<e>
Toggle scaling of values.
<g>
Go to the top of the counter list.
...
...
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