{"id":6570,"date":"2015-04-20T18:57:53","date_gmt":"2015-04-21T01:57:53","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=6570"},"modified":"2015-04-20T18:57:53","modified_gmt":"2015-04-21T01:57:53","slug":"varnish-tools-command-lines-for-performance-checks","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=6570","title":{"rendered":"Varnish tools &#038; command-lines for performance checks"},"content":{"rendered":"<p>Varnish is a popular Web Load Balancer and here&#8217;s some commands that are useful to help diagnose your website&#8217;s performance, and give some stats and metrics about the response time and activity of your website as Varnish sees it:<\/p>\n<p><code>\/\/ Query Times<br \/>\n  varnishncsa -F '%t %{VCL_Log:Backend}x %D\u03bcs %bB %s %{Varnish:hitmiss}x \"%r\"'<\/p>\n<p>\/\/ Slow Queries<br \/>\n  varnishncsa -F '%t %{VCL_Log:Backend}x %D\u03bcs %bB %s %{Varnish:hitmiss}x \"%r\"' -m \"VCL_Log:SlowQuery\"<\/p>\n<p>\/\/ Top URLs<br \/>\n  varnishtop -i RxURL<\/p>\n<p>\/\/ Top Referer, User-Agent, etc.<br \/>\n  varnishtop -i RxHeader -I Referer<br \/>\n  varnishtop -i RxHeader -I User-Agent<\/p>\n<p>\/\/ Cache Misses<br \/>\n  varnishtop -i TxURL<\/p>\n<p>\/\/ awesome dashboard<br \/>\n  varnishstat<\/code><\/p>\n<p>FYI,<br \/>\nRichard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Varnish is a popular Web Load Balancer and here&#8217;s some commands that are useful to help diagnose your website&#8217;s performance, and give some stats and metrics about the response time and activity of your website as Varnish sees it: \/\/ &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=6570\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,70],"tags":[78,115],"class_list":["post-6570","post","type-post","status-publish","format-standard","hentry","category-network-presence","category-sales","tag-sysadmin","tag-varnish"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/6570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6570"}],"version-history":[{"count":2,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/6570\/revisions"}],"predecessor-version":[{"id":6572,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/6570\/revisions\/6572"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6570"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}