1VARNISHHIST(1) BSD General Commands Manual VARNISHHIST(1)
2
4 varnishhist — Varnish request histogram
5
7 varnishhist [-b] [-C] [-c] [-d] [-I regex] [-i tag] [-n varnish_name]
8 [-r file] [-V] [-w delay] [-X regex] [-x tag]
9
11 The varnishhist utility reads varnishd(1) shared memory logs and presents
12 a continuously updated histogram showing the distribution of the last N
13 requests by their processing. The value of N and the vertical scale are
14 displayed in the top left corner. The horizontal scale is logarithmic.
15 Hits are marked with a pipe character ("|"), and misses are marked with a
16 hash character ("#").
17
18 The following options are available:
19
20 -b Include log entries which result from communication with a
21 backend server. If neither -b nor -c is specified,
22 varnishhist acts as if they both were.
23
24 -C Ignore case when matching regular expressions.
25
26 -c Include log entries which result from communication with a
27 client. If neither -b nor -c is specified, varnishhist acts
28 as if they both were.
29
30 -d Process old log entries on startup. Normally, varnishhist
31 will only process entries which are written to the log after
32 it starts.
33
34 -I regex Include log entries which match the specified regular expres‐
35 sion. If neither -I nor -i is specified, all log entries are
36 included.
37
38 -i tag Include log entries with the specified tag. If neither -I
39 nor -i is specified, all log entries are included.
40
41 -n Specifies the name of the varnishd instance to get logs from.
42 If -n is not specified, the host name is used.
43
44 -r file Read log entries from file instead of shared memory.
45
46 -V Display the version number and exit.
47
48 -w delay Wait at least delay seconds between each update. The default
49 is 1. file instead of displaying them. The file will be
50 overwritten unless the -a option was specified.
51
52 -X regex Exclude log entries which match the specified regular expres‐
53 sion.
54
55 -x tag Exclude log entries with the specified tag.
56
58 varnishd(1), varnishlog(1), varnishncsa(1), varnishstat(1), varnishtop(1)
59
61 The varnishhist utility was developed by Poul-Henning Kamp
62 <phk@phk.freebsd.dk> in cooperation with Verdens Gang AS and Linpro AS.
63 This manual page was written by Dag-Erling Smørgrav <des@linpro.no>.
64
65BSD June 28, 2007 BSD