HEAD;
?>
XCache Administration
XCache Administration
Help »
Caches:
next(); ?>>
- |
Slots |
Size |
Avail |
Used |
Clear |
Compiling |
Hits |
Misses |
Clogs |
OOMs |
Protected |
Cached |
Deleted |
$ci) {
echo "
next(), ">";
$ci = number_formats($ci, $numkeys);
$ci['compiling'] = $ci['type'] == $type_php ? ($ci['compiling'] ? 'yes' : 'no') : '-';
$ci['can_readonly'] = $ci['can_readonly'] ? 'yes' : 'no';
$percent = (int) (($ci['size'] - $ci['avail']) / $ci['size'] * 100);
echo <<{$ci['cache_name']}
{$ci['slots']} |
{$ci['size']} |
{$ci['avail']} |
|
|
{$ci['compiling']} |
{$ci['hits']} |
{$ci['misses']} |
{$ci['clogs']} |
{$ci['ooms']} |
{$ci['can_readonly']} |
{$ci['cached']} |
{$ci['deleted']} |
EOS;
$b->reset();
?>
Free Blocks:
$ci) {
$b->reset();
?>
size offset |
next();
echo "
$size $offset | ";
}
?>
$cachelist['cache_list'], 'Deleted' => $cachelist['deleted_list']) as $listname => $entries) {
$a->reset();
echo "
{$cachelist['type_name']} $listname";
?>
';
}
if ($isphp) {
echo '';
echo '';
echo '';
}
echo "
next(), ">";
?>
Cache |
entry |
Hits |
Ref count |
Size |
SrcSize |
Modify |
device |
inode |
Access |
Create |
Delete |
$entry) {
echo "
next(), ">";
$name = htmlspecialchars($entry['name']);
$hits = number_format($entry['hits']);
$refcount = number_format($entry['refcount']);
$size = size($entry['size']);
if ($isphp) {
$sourcesize = size($entry['sourcesize']);
}
if ($isphp) {
$mtime = age($entry['mtime']);
}
$ctime = age($entry['ctime']);
$atime = age($entry['atime']);
$dtime = age($entry['dtime']);
echo <<{$entry['cache_name']} {$i}
{$name} |
{$entry['hits']} |
{$entry['refcount']} |
{$size} |
ENTRY;
if ($isphp) {
echo <<{$sourcesize}
{$mtime} |
{$entry['device']} |
{$entry['inode']} |
ENTRY;
}
echo <<{$atime}
{$ctime} |
ENTRY;
if ($listname == 'Deleted') {
echo <<{$dtime}
ENTRY;
}
echo "
";
}
?>