5
-------------------------
6
Varnish request histogram
7
-------------------------
9
:Author: Dag-Erling Smørgrav
18
varnishhist [-b] [-C] [-c] [-d] [-I regex] [-i tag] [-m tag:regex ...]
19
[-n varnish_name] [-r file] [-V] [-w delay] [-X regex] [-x tag]
24
The varnishhist utility reads varnishd(1) shared memory logs and
25
presents a continuously updated histogram show‐ ing the distribution
26
of the last N requests by their processing. The value of N and the
27
vertical scale are dis‐ played in the top left corner. The horizontal
28
scale is logarithmic. Hits are marked with a pipe character ("|"),
29
and misses are marked with a hash character ("#").
31
The following options are available:
33
-b Include log entries which result from communication with
34
a backend server. If neither -b nor -c is
35
specified, varnishhist acts as if they both were.
37
-C Ignore case when matching regular expressions.
39
-c Include log entries which result from communication with
40
a client. If neither -b nor -c is specified,
41
varnishhist acts as if they both were.
43
-d Process old log entries on startup. Normally, varnishhist
44
will only process entries which are written to the
47
-I regex Include log entries which match the specified
48
regular expression. If neither -I nor -i is specified,
49
all log entries are included.
51
-i tag Include log entries with the specified tag. If neither
52
-I nor -i is specified, all log entries are included.
54
-m tag:regex only count transactions where tag matches regex. Multiple
55
-m options are AND-ed together.
57
-n Specifies the name of the varnishd instance to get logs
58
from. If -n is not specified, the host name is used.
60
-r file Read log entries from file instead of shared memory.
62
-V Display the version number and exit.
64
-w delay Wait at least delay seconds between each update. The
65
default is 1. file instead of displaying them. The file
66
will be overwritten unless the -a option was specified.
68
-X regex Exclude log entries which match the specified regular expression.
70
-x tag Exclude log entries with the specified tag.
83
The varnishhist utility was developed by Poul-Henning Kamp in cooperation with Verdens Gang
84
AS and Varnish Software AS. This manual page was written by Dag-Erling Smørgrav.
89
This document is licensed under the same licence as Varnish
90
itself. See LICENCE for details.
92
* Copyright (c) 2006 Verdens Gang AS
93
* Copyright (c) 2006-2011 Varnish Software AS