1VARNISHADM(1)                                                    VARNISHADM(1)
2
3
4

NAME

6       varnishadm - Control a running varnish instance
7

SYNOPSIS

9          varnishadm  [-t  timeout]  [-S secret_file] -T address:port [command
10          [...]]
11

DESCRIPTION

13       The varnishadm utility establishes a CLI connection using the -T and -S
14       arguments.
15
16       If  a command is given, the command and arguments are sent over the CLI
17       connection and the result returned on stdout.
18
19       If no command argument is  given  varnishadm  will  pass  commands  and
20       replies between the CLI socket and stdin/stdout.
21

OPTIONS

23       -t timeout
24              Wait  no  longer than this many seconds for an operation to fin‐
25              ish.
26
27       -S secret_file
28              Specify the authentication secret file. This should be the  same
29              -S  argument  as was given to varnishd. Only processes which can
30              read the contents of this file, will be able to authenticate the
31              CLI connection.
32
33       -T address:port
34              Connect to the management interface at the specified address and
35              port.
36
37       Available commands and parameters are  documented  in  the  varnishd(1)
38       manual  page.   Additionally,  a summary of commands can be obtained by
39       issuing the help command, and a summary of parameters can  be  obtained
40       by issuing the param.show command.
41

EXIT STATUS

43       If  a  command  is  given, the exit status of the varnishadm utility is
44       zero if the command succeeded, and non-zero otherwise.
45

EXAMPLES

47       Some ways you can use varnishadm::
48
49       varnishadm -T localhost:999 -S /var/db/secret vcl.use foo
50       echo vcl.use foo | varnishadm -T localhost:999 -S /var/db/secret
51       echo vcl.use foo | ssh vhost varnishadm -T localhost:999 -S /var/db/secret
52

SEE ALSO

54       · varnishd(1)
55

HISTORY

57       The varnishadm utility and this manual page  were  written  by  Cecilie
58       Fritzvold. Converted to reStructured and updated in 2010 by Per Buer.
59
61       This document is licensed under the same licence as Varnish itself. See
62       LICENCE for details.
63
64       · Copyright (c) 2007-2008 Linpro AS
65
66       · Copyright (c) 2008-2010 Redpill Linpro AS
67
68       · Copyright (c) 2010 Varnish Software AS
69

AUTHOR

71       Cecilie Fritzvold, Per Buer
72
73
74
75
760.2                               2010-05-31                     VARNISHADM(1)
Impressum