]> err.no Git - varnish/commit
Added -x option to get XML output. As with the -1 option, it prints it once and quits...
authorpetter <petter@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Feb 2009 07:46:42 +0000 (07:46 +0000)
committerpetter <petter@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Feb 2009 07:46:42 +0000 (07:46 +0000)
commite274d13b135ccbfe8d6abccf69c093313b38bc85
tree5a8e61f6002f0a0bd66026e979a9e6ef2f49e0a7
parentdbcc999fe0115fb2876f76179495c48ca0094457
Added -x option to get XML output. As with the -1 option, it prints it once and quits, and you can choose what fields to include with the -f option. Example XML output is

<?xml version="1.0"?>
<varnishstat timestamp="2009-02-25T08:45:02">
<stat>
<name>client_req</name>
<value>2656016</value>
<description>Client requests received</description>
</stat>
</varnishstat>

varnishstat.xsd contains the XML schema for the output.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3824 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishstat/varnishstat.c
varnish-cache/bin/varnishstat/varnishstat.xsd [new file with mode: 0644]