varnishadm - Control a running Varnish instance
varnishadm [-h] [-n ident] [-t timeout] [-S secretfile] [-T [address]:port] [command [...]]
The varnishadm utility establishes a CLI connection to varnishd either using -n name or using the -T and -S arguments. If -n name is given the location of the secret file and the address:port is looked up in shared memory. If neither is given varnishadm will look for an instance without a given name. If a command is given, the command and arguments are sent over the CLI connection and the result returned on stdout. If no command argument is given varnishadm will pass commands and replies between the CLI socket and stdin/stdout.
-h Print program usage and exit.
-n ident
Connect to the instance of varnishd with this name.
-S secretfile
Specify the authentication secret file. This should be the same
-S argument as was given to varnishd. Only processes which can
read the contents of this file, will be able to authenticate the
CLI connection.
-t timeout
Wait no longer than this many seconds for an operation to
finish.
-T <address:port>
Connect to the management interface at the specified address and
port.
The syntax and operation of the actual CLI interface is described in
the varnish-cli(7) manual page. Parameters are described in varnishd(1)
manual page.
Additionally, a summary of commands can be obtained by issuing the help
command, and a summary of parameters can be obtained by issuing the
param.show command.
If a command is given, the exit status of the varnishadm utility is zero if the command succeeded, and non-zero otherwise.
Some ways you can use varnishadm:
varnishadm -T localhost:999 -S /var/db/secret vcl.use foo
echo vcl.use foo | varnishadm -T localhost:999 -S /var/db/secret
echo vcl.use foo | ssh vhost varnishadm -T localhost:999 -S /var/db/secret
* varnishd(1) * varnish-cli(7)
The varnishadm utility and this manual page were written by Cecilie
Fritzvold. This man page has later been modified by Per Buer, Federico
G. Schwindt and Lasse Karstensen.
VARNISHADM(1)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.