{"id":1135,"date":"2011-11-09T14:10:00","date_gmt":"2011-11-09T06:10:00","guid":{"rendered":"\/?p=1135"},"modified":"2011-11-09T14:10:00","modified_gmt":"2011-11-09T14:10:00","slug":"1135","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/architecture\/1135.html","title":{"rendered":"Varnishhist \u4e2d\u6587man page"},"content":{"rendered":"

Author:    Dag-Erling Sm?rgrav<\/p>\n

Date:        2010-05-31<\/p>\n

Version:   1.0<\/p>\n

Manual section:       1<\/p>\n

Varnish request histogram\uff08varnish\u8bf7\u6c42\u67f1\u72b6\u56fe\uff09<\/p>\n

 <\/p>\n

SYNOPSIS<\/p>\n

varnishhist [-b] [-C] [-c] [-d] [-I regex] [-i tag] [-n varnish_name] [-r file] [-V] [-w delay][-X regex] [-x tag]<\/p>\n

DESCRIPTION<\/p>\n

Varnishhist\u5de5\u5177\u8bfb\u53d6varnishd\uff081\uff09\u7684\u5171\u4eab\u5185\u5b58\u65e5\u5fd7\uff0c\u751f\u6210\u4e00\u4e2a\u8fde\u7eed\u4e0d\u65ad\u66f4\u65b0\u7684\u67f1\u72b6\u56fe\u663e\u793a\u6700\u540eN\u4e2a\u8bf7\u6c42\u7684\u5206\u5e03\u3002N\u7684\u503c\u53d6\u51b3\u4e8e\u5de6\u4e0a\u89d2\u5782\u76f4\u523b\u5ea6\u7684\u9ad8\u5ea6\u3002\u6c34\u5e73\u6807\u5c3a\u662f\u5bf9\u6570\u3002\u5982\u679c\u547d\u4e2d\uff0c\u5219\u4f7f\u7528\u201c|\u201d\u8868\u793a\uff0c\u5982\u679c\u6ca1\u6709\u547d\u4e2d\uff0c\u4f7f\u7528\u201c#\u201d\u8868\u793a\u3002<\/p>\n

\u4e0b\u9762\u7684\u9009\u9879\u662f\u53ef\u7528\u7684\uff1a<\/p>\n

                  -b               \u5206\u6790\u6307\u5b9a\u540e\u7aef\u670d\u52a1\u5668\u7684\u65e5\u5fd7\uff0c\u5982\u679c\u6ca1\u6709\u4f7f\u7528-b\u548c-c\u53c2\u6570\uff0cvarnish\u5c31\u5145\u5f53\u4ed6\u4eec\u3002<\/p>\n

                   -C               \u5ffd\u7565\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u5927\u5c0f\u5199\u3002<\/p>\n

                   -c               \u5206\u6790\u6307\u5b9a\u5ba2\u6237\u7aef\u7684\u65e5\u5fd7\u3002<\/p>\n

                   -d               \u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\u5904\u7406\u65e7\u7684\u65e5\u5fd7\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\uff0cvarnishhist\u53ea\u4f1a\u5728\u8fdb\u7a0b\u5199\u5165\u65e5           \u5fd7\u540e\u542f\u52a8\u3002<\/p>\n

                   -I       regex        \u5339\u914d\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u65e5\u5fd7\uff0c\u5982\u679c\u6ca1\u6709\u4f7f\u7528-i\u6216\u8005-I\uff0c\u90a3\u4e48\u6240\u6709\u7684\u65e5\u5fd7\u90fd                      \u4f1a\u5339\u914d\u3002<\/p>\n

                   -i       tag            \u5339\u914d\u6307\u5b9a\u7684tag\uff0c\u5982\u679c\u6ca1\u6709\u4f7f\u7528-i\u6216\u8005-I\uff0c\u90a3\u4e48\u6240\u6709\u7684\u65e5\u5fd7\u90fd\u4f1a\u88ab\u5339\u914d\u3002<\/p>\n

                   -n               \u6307\u5b9avarnish\u5b9e\u4f8b\u7684\u540d\u5b57\uff0c\u7528\u6765\u83b7\u53d6\u65e5\u5fd7\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\uff0c\u9ed8\u8ba4\u4f7f\u7528\u4e3b\u673a \u540d\u3002<\/p>\n

                   -r      file    \u8bfb\u5165\u65e5\u5fd7\u6587\u4ef6\uff0c\u4ee3\u66ff\u5171\u4eab\u5185\u5b58\u3002<\/p>\n

                   -V               \u663e\u793a\u7248\u672c\u53f7\uff0c\u7136\u540e\u9000\u51fa\u3002<\/p>\n

                   -w     delay         \u7b49\u5f85\u66f4\u65b0\u7684\u5ef6\u8fdf\u65f6\u95f4\uff0c\u9ed8\u8ba4\u662f1\u79d2\u3002<\/p>\n

                   -X      regex        \u5bfc\u5165\u5339\u914d\u8868\u8fbe\u5f0f\u7684\u65e5\u5fd7\u3002<\/p>\n

                   -x      tag            \u5bfc\u5165\u5339\u914dtag\u7684\u65e5\u5fd7\u3002<\/p>\n

SEE ALSO<\/p>\n

    * varnishd(1)<\/p>\n

    * varnishlog(1)<\/p>\n

    * varnishncsa(1)<\/p>\n

    * varnishstat(1)<\/p>\n

    * varnishtop(1)<\/p>\n

HISTORY<\/p>\n

The varnishhist utility was developed by Poul-Henning Kamp in cooperation with  Verdens Gang AS and Linpro AS. This manual page was written by Dag-Erling Sm?rgrav.<\/p>\n

COPYRIGHT<\/p>\n

\u8fd9\u4e2a\u6587\u6863\u7684\u7248\u6743\u548cvarnish\u81ea\u8eab\u7684\u7248\u6743\u4e00\u6837\uff0c\u8bf7\u770bLICENCE\u3002<\/p>\n

    * Copyright (c) 2006 Verdens Gang AS<\/p>\n

    * Copyright (c) 2006-2008 Linpro AS<\/p>\n

    * Copyright (c) 2008-2010 Redpill Linpro AS<\/p>\n

    * Copyright (c) 2010 Varnish Software AS<\/p>\n

 <\/p>\n

\u5f15\u7528\uff1ahttp:\/\/linuxguest.blog.51cto.com\/195664\/369338<\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"

Author:    Dag-Erling Sm?rgrav<\/p>\n

Date:        2010-05-31<\/p>\n

Version:   1.0<\/p>\n

Manual section:       1<\/p>\n

Varnish request histogram\uff08varnish\u8bf7\u6c42\u67f1\u72b6\u56fe\uff09<\/p>\n

 <\/p>\n

SYNOPSIS<\/p>\n

varnishhist [-b] [-C] [-c] [-d] [-I regex] [-i tag] [-n varnish_name] [-r file] [-V] [-w delay][-X regex] [-x tag]<\/p>\n

DESCRIPTION<\/p>\n

Varnishhist\u5de5\u5177\u8bfb\u53d6varnishd\uff081\uff09\u7684\u5171\u4eab\u5185\u5b58\u65e5\u5fd7\uff0c\u751f\u6210\u4e00\u4e2a\u8fde<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1135"}],"collection":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":0,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}