downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Basic VarnishLog usage> <Basic VarnishAdmin usage
[edit] Last updated: Fri, 24 May 2013

view this page in

Basic VarnishStat usage

The example illustrates getting varnish statistic snapshot from shared memory

Example #1 Get statistic snapshot

<?php

$vs 
= new VarnishStat;

try {
    
$data $vs->getSnapshot();
} catch (
VarnishException $e) {
    echo 
$e->getMessage();
    exit(
3);
}

exit(
0);
?>


add a note add a note User Contributed Notes Basic VarnishStat usage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites