上一篇: Nginx 限制并发数和带宽
php页面显示squid服务信息
[ 2009/10/09 17:05 | by selboo ]
<?php
echo '<pre>';
$squidinfo= system('/usr/local/squid/bin/squidclient -p 8080 mgr:info', $retval);
// Printing additional info
echo '
</pre>
<hr />Last line of the output: ' . $squidinfo. '
<hr />Return value: ' . $retval;
?>
echo '<pre>';
$squidinfo= system('/usr/local/squid/bin/squidclient -p 8080 mgr:info', $retval);
// Printing additional info
echo '
</pre>
<hr />Last line of the output: ' . $squidinfo. '
<hr />Return value: ' . $retval;
?>
最后编辑: selboo 编辑于2009/10/09 17:06