⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.96
Server IP:
147.93.97.220
Server:
Linux srv843233 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
varnish
/
html
/
reference
/
View File Name :
varnishhist.html
<!DOCTYPE html> <html lang="en" data-content_root="../"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> <title>varnishhist — Varnish version 7.5.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css?v=e2714048" /> <script src="../_static/documentation_options.js?v=8214db13"></script> <script src="../_static/doctools.js?v=888ff710"></script> <script src="../_static/sphinx_highlight.js?v=dc90522c"></script> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="next" title="varnishtop" href="varnishtop.html" /> <link rel="prev" title="varnishncsa" href="varnishncsa.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="varnishtop.html" title="varnishtop" accesskey="N">next</a> |</li> <li class="right" > <a href="varnishncsa.html" title="varnishncsa" accesskey="P">previous</a> |</li> <li class="nav-item nav-item-0"><a href="../index.html">Varnish version 7.5.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">The Varnish Reference Manual</a> »</li> <li class="nav-item nav-item-this"><a href="">varnishhist</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <section id="varnishhist"> <span id="varnishhist-1"></span><h1>varnishhist<a class="headerlink" href="#varnishhist" title="Link to this heading">¶</a></h1> <section id="varnish-request-histogram"> <h2>Varnish request histogram<a class="headerlink" href="#varnish-request-histogram" title="Link to this heading">¶</a></h2> <dl class="field-list simple"> <dt class="field-odd">Manual section<span class="colon">:</span></dt> <dd class="field-odd"><p>1</p> </dd> </dl> <section id="synopsis"> <h3>SYNOPSIS<a class="headerlink" href="#synopsis" title="Link to this heading">¶</a></h3> <p>varnishhist [-B <factor>] [-C] [-d] [-g <request|vxid>] [-h] [-L <limit>] [-n <dir>] [-p <period>] [-P responsetime] [-P reqbodytime] [-P size] [-P Bereqtime] [-P Beresptime] [-P BerespBodytime] [-P Besize] [-P <[cb:]tag:[prefix]:field_num[:min:max]>] [-Q <file>] [-q <query>] [-r <filename>] [-t <seconds|off>] [-T <seconds>] [-V]</p> </section> <section id="description"> <h3>DESCRIPTION<a class="headerlink" href="#description" title="Link to this heading">¶</a></h3> <p>The varnishhist utility reads varnishd(1) shared memory logs and presents a continuously updated histogram showing the distribution of the last N requests by their processing. The value of N and the vertical scale are displayed in the top left corner. The horizontal scale is logarithmic. Hits are marked with a pipe character (“|”), and misses are marked with a hash character (“#”).</p> <p>The following options are available:</p> <dl class="option-list"> <dt><kbd><span class="option">-B <var><factor></var></span></kbd></dt> <dd><p>Factor to bend time by. Particularly useful when [-r]eading from a vsl file. =1 process in near real time, <1 slow-motion, >1 time-lapse (useless unless reading from a file). At runtime, < halves and > doubles.</p> </dd> <dt><kbd><span class="option">-C</span></kbd></dt> <dd><p>Do all regular expression and string matching caseless.</p> </dd> <dt><kbd><span class="option">-d</span></kbd></dt> <dd><p>Process log records at the head of the log and exit.</p> </dd> <dt><kbd><span class="option">-g <var><request|vxid></var></span></kbd></dt> <dd><p>The grouping of the log records. The default is to group by vxid.</p> </dd> <dt><kbd><span class="option">-h</span></kbd></dt> <dd><p>Print program usage and exit</p> </dd> <dt><kbd><span class="option">-L <var><limit></var></span></kbd></dt> <dd><p>Sets the upper limit of incomplete transactions kept before the oldest transaction is force completed. A warning record is synthesized when this happens. This setting keeps an upper bound on the memory usage of running queries. Defaults to 1000 transactions.</p> </dd> <dt><kbd><span class="option">-n <var><dir></var></span></kbd></dt> <dd><p>Specify the varnishd working directory (also known as instance name) to get logs from. If -n is not specified, the host name is used.</p> </dd> <dt><kbd><span class="option">-p <var><period></var></span></kbd></dt> <dd><p>Specified the number of seconds between screen refreshes. Default is 1 second, and can be changed at runtime by pressing the [0-9] keys (powers of 2 in seconds or + and - (double/halve the speed).</p> </dd> <dt><kbd><span class="option">-P <var>responsetime</var></span></kbd></dt> <dd><p>Predefined client profile: graph the total time from start of request processing (first byte received) until ready to deliver the client response (field 3 of SLT_Timestamp Process: VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>reqbodytime</var></span></kbd></dt> <dd><p>Predefined client profile: graph the time for reading the request body (field 3 of SLT_Timestamp ReqBody: VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>size</var></span></kbd></dt> <dd><p>Predefined client profile: graph the size of responses (field 5 of SLT_ReqAcct VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>Bereqtime</var></span></kbd></dt> <dd><p>Predefined backend profile: graph the time from beginning of backend processing until a backend request is sent completely (field 3 of SLT_Timestamp Bereq: VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>Beresptime</var></span></kbd></dt> <dd><p>Predefined backend profile: graph the time from beginning of backend processing until the response headers are being received completely (field 3 of SLT_Timestamp Beresp: VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>BerespBodytime</var></span></kbd></dt> <dd><p>Predefined backend profile: graph the time from beginning of backend processing until the response body has been received (field 3 of SLT_Timestamp BerespBody: VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var>Besize</var></span></kbd></dt> <dd><p>Predefined backend profile: graph the backend response body size (field 5 of SLT_BereqAcct VSL tag).</p> </dd> <dt><kbd><span class="option">-P <var><[cb:]tag:[prefix]:field_num[:min:max]></var></span></kbd></dt> <dd><p>Graph the given custom definition defined as: an optional (c)lient, (b)ackend or (E)SI filter (defaults to client), the tag we’ll look for, a prefix to look for (can be empty, but must be terminated by a colon) and the field number of the value we are interested in. min and max are the boundaries of the graph in powers of ten and default to -6 and 3.</p> </dd> <dt><kbd><span class="option">-Q <var><file></var></span></kbd></dt> <dd><p>Specifies the file containing the VSL query to use. When multiple -Q or -q options are specified, all queries are considered as if the ‘or’ operator was used to combine them.</p> </dd> <dt><kbd><span class="option">-q <var><query></var></span></kbd></dt> <dd><p>Specifies the VSL query to use. When multiple -q or -Q options are specified, all queries are considered as if the ‘or’ operator was used to combine them.</p> </dd> <dt><kbd><span class="option">-r <var><filename></var></span></kbd></dt> <dd><p>Read log in binary file format from this file. The file can be created with <code class="docutils literal notranslate"><span class="pre">varnishlog</span> <span class="pre">-w</span> <span class="pre">filename</span></code>. If the filename is -, logs are read from the standard input. and cannot work as a daemon.</p> </dd> <dt><kbd><span class="option">-t <var><seconds|off></var></span></kbd></dt> <dd><p>Timeout before returning error on initial VSM connection. If set the VSM connection is retried every 0.5 seconds for this many seconds. If zero the connection is attempted only once and will fail immediately if unsuccessful. If set to “off”, the connection will not fail, allowing the utility to start and wait indefinetely for the Varnish instance to appear. Defaults to 5 seconds.</p> </dd> <dt><kbd><span class="option">-T <var><seconds></var></span></kbd></dt> <dd><p>Sets the transaction timeout in seconds. This defines the maximum number of seconds elapsed between a Begin tag and the End tag. If the timeout expires, a warning record is synthesized and the transaction is force completed. Defaults to 120 seconds.</p> </dd> <dt><kbd><span class="option">-V</span></kbd></dt> <dd><p>Print version information and exit.</p> </dd> <dt><kbd><span class="option">--optstring</span></kbd></dt> <dd><p>Print the optstring parameter to <code class="docutils literal notranslate"><span class="pre">getopt(3)</span></code> to help writing wrapper scripts.</p> </dd> </dl> </section> <section id="see-also"> <h3>SEE ALSO<a class="headerlink" href="#see-also" title="Link to this heading">¶</a></h3> <ul class="simple"> <li><p><a class="reference internal" href="varnishd.html#varnishd-1"><span class="std std-ref">varnishd</span></a></p></li> <li><p><a class="reference internal" href="varnishlog.html#varnishlog-1"><span class="std std-ref">varnishlog</span></a></p></li> <li><p><a class="reference internal" href="varnishncsa.html#varnishncsa-1"><span class="std std-ref">varnishncsa</span></a></p></li> <li><p><a class="reference internal" href="varnishstat.html#varnishstat-1"><span class="std std-ref">varnishstat</span></a></p></li> <li><p><a class="reference internal" href="varnishtop.html#varnishtop-1"><span class="std std-ref">varnishtop</span></a></p></li> <li><p><a class="reference internal" href="vsl.html#vsl-7"><span class="std std-ref">VSL</span></a></p></li> </ul> </section> <section id="history"> <h3>HISTORY<a class="headerlink" href="#history" title="Link to this heading">¶</a></h3> <p>The varnishhist utility was developed by Poul-Henning Kamp in cooperation with Verdens Gang AS and Varnish Software AS. This manual page was written by Dag-Erling Smørgrav.</p> </section> <section id="copyright"> <h3>COPYRIGHT<a class="headerlink" href="#copyright" title="Link to this heading">¶</a></h3> <p>This document is licensed under the same licence as Varnish itself. See LICENCE for details.</p> <ul class="simple"> <li><p>Copyright (c) 2006 Verdens Gang AS</p></li> <li><p>Copyright (c) 2006-2015 Varnish Software AS</p></li> </ul> </section> </section> </section> <div class="clearer"></div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <div> <h3><a href="../index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">varnishhist</a><ul> <li><a class="reference internal" href="#varnish-request-histogram">Varnish request histogram</a><ul> <li><a class="reference internal" href="#synopsis">SYNOPSIS</a></li> <li><a class="reference internal" href="#description">DESCRIPTION</a></li> <li><a class="reference internal" href="#see-also">SEE ALSO</a></li> <li><a class="reference internal" href="#history">HISTORY</a></li> <li><a class="reference internal" href="#copyright">COPYRIGHT</a></li> </ul> </li> </ul> </li> </ul> </div> <div> <h4>Previous topic</h4> <p class="topless"><a href="varnishncsa.html" title="previous chapter">varnishncsa</a></p> </div> <div> <h4>Next topic</h4> <p class="topless"><a href="varnishtop.html" title="next chapter">varnishtop</a></p> </div> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/reference/varnishhist.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3 id="searchlabel">Quick search</h3> <div class="searchformwrapper"> <form class="search" action="../search.html" method="get"> <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> <input type="submit" value="Go" /> </form> </div> </div> <script>document.getElementById('searchbox').style.display = "block"</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="varnishtop.html" title="varnishtop" >next</a> |</li> <li class="right" > <a href="varnishncsa.html" title="varnishncsa" >previous</a> |</li> <li class="nav-item nav-item-0"><a href="../index.html">Varnish version 7.5.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="index.html" >The Varnish Reference Manual</a> »</li> <li class="nav-item nav-item-this"><a href="">varnishhist</a></li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2010-2014, Varnish Software AS. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6. </div> </body> </html>