<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Glad to help, and happy to see you’ve got it working :)</div> <br><p style="color:#000;">On 23 May 2014 at 02:42:15, 李学强 (<a href="mailto:nemolee888@gmail.com">nemolee888@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hello Andrew:<br>     You are a good guy, I think . Fllow your ticks ,I have reslovd the <br>problem . Because I have nothing config to do ,So the varnish command  <br>have no output about hit rate.<br>After I config the default.vcl file ,every thing is ok .<br>    Thank you very much .<br><br>于 2014-5-22 16:46, varnish-misc-request@varnish-cache.org 写道:<br>> Send varnish-misc mailing list submissions to<br>>  varnish-misc@varnish-cache.org<br>><br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>      https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc<br>> or, via email, send a message with subject or body 'help' to<br>>      varnish-misc-request@varnish-cache.org<br>><br>> You can reach the person managing the list at<br>>  varnish-misc-owner@varnish-cache.org<br>><br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of varnish-misc digest..."<br>><br>><br>> Today's Topics:<br>><br>>     1. Re: about hitrate (Andrew Langhorn)<br>><br>><br>> ----------------------------------------------------------------------<br>><br>> Message: 1<br>> Date: Thu, 22 May 2014 09:46:28 +0100<br>> From: Andrew Langhorn <andrew.langhorn@digital.cabinet-office.gov.uk><br>> To: varnish-misc@varnish-cache.org,  ??? <nemolee888@gmail.com><br>> Subject: Re: about hitrate<br>> Message-ID: <etPan.537db964.19495cff.11d@Andrews-MacBook-Pro.local><br>> Content-Type: text/plain; charset="utf-8"<br>><br>> Hi,<br>><br>> I think you should be able to use varnishtop and varnishlog to achieve what you?re after.<br>><br>> varnishtop will let you see which URLs are hitting your backend(s) most often. Something like varnishtop -i txurl might be a good starting point, although the docs[1] have some further details on its use.<br>><br>> varnishlog will let you search your logs for a given URL to look at the request. varnishlog -c -m ?RxURL:^/foo/bar? will show you requests from client (-c) for /foo/bar<br>><br>> Andrew<br>><br>> [1]?https://www.varnish-cache.org/docs/4.0/users-guide/operation-statistics.html#users-guide-statistics<br>> On 22 May 2014 at 02:39:38, ??? (nemolee888@gmail.com) wrote:<br>><br>> Hello everyone:<br>> ??? I am a newbie of varnish 4.0 . Can I check the hitrate in the varnishstat command? This command's output is diffrent from version 3.0.<br>> ??? Thank you!<br>><br>> --<br>> ?<br>><br>> ???? ? ?????<br>><br>> ? ????????????512?<br>><br>> Tel:(+86-411)84799089<br>><br>> Mobile: 18041169612<br>><br>> Email: lixueqiang@chinafesco.com<br>><br>> http://www.chinafesco.com/<br>><br>> ?<br>><br>> _______________________________________________<br>> varnish-misc mailing list<br>> varnish-misc@varnish-cache.org<br>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140522/981ecec2/attachment.html><br>><br>> ------------------------------<br>><br>> _______________________________________________<br>> varnish-misc mailing list<br>> varnish-misc@varnish-cache.org<br>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc<br>><br>> End of varnish-misc Digest, Vol 98, Issue 34<br>> ********************************************<br><br><br>_______________________________________________<br>varnish-misc mailing list<br>varnish-misc@varnish-cache.org<br>https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</div></div></span></blockquote></body></html>