varnish log cache misses

Um Varnish cache Hits und Miesses zur späteren Analyse zu speichern kann man folgende Befehle nutzen

varnishncsa -F ‘%U%q %{Varnish:hitmiss}x’ -w varnish_cache.log

http://stackoverflow.com/questions/14214104/list-contents-of-varnish-cache

sort -k 1 /path/requests.logs | uniq -c | sort -k 1 -n -r | head -25

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s