Hello Andrew:
You are a good guy, I think . Fllow your ticks ,I have reslovd the problem . Because I have nothing config to do ,So the varnish command have no output about hit rate.
After I config the default.vcl file ,every thing is ok .
   Thank you very much .

于 2014-5-22 16:46, [email protected] 写道:
Send varnish-misc mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of varnish-misc digest..."


Today's Topics:

    1. Re: about hitrate (Andrew Langhorn)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 May 2014 09:46:28 +0100
From: Andrew Langhorn <[email protected]>
To: [email protected],  ??? <[email protected]>
Subject: Re: about hitrate
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi,

I think you should be able to use varnishtop and varnishlog to achieve what 
you?re after.

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.

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

Andrew

[1]?https://www.varnish-cache.org/docs/4.0/users-guide/operation-statistics.html#users-guide-statistics
On 22 May 2014 at 02:39:38, ??? ([email protected]) wrote:

Hello everyone:
??? 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.
??? Thank you!

--
?

???? ? ?????

? ????????????512?

Tel:(+86-411)84799089

Mobile: 18041169612

Email: [email protected]

http://www.chinafesco.com/

?

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140522/981ecec2/attachment.html>

------------------------------

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

End of varnish-misc Digest, Vol 98, Issue 34
********************************************


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to