WINCACHE_SCACHE_MEMINFO(3) 1 WINCACHE_SCACHE_MEMINFO(3)
wincache_scache_meminfo - Retrieves information about session cache memory usage
SYNOPSIS
array wincache_scache_meminfo (void )
DESCRIPTION
Retrieves information about memory usage by session cache.
RETURN VALUES
Array of meta data about session cache memory usage or FALSE on failure
The array returned by this function contains the following elements:
o memory_total - amount of memory in bytes allocated for the session cache
o memory_free - amount of free memory in bytes available for the session cache
o num_used_blks - number of memory blocks used by the session cache
o num_free_blks - number of free memory blocks available for the session cache
o memory_overhead - amount of memory in bytes used for the session cache internal structures
EXAMPLES
Example #1
A wincache_scache_meminfo(3) example
<pre>
<?php
print_r(wincache_scache_meminfo());
?>
</pre>
The above example will output:
Array
(
[memory_total] => 5242880
[memory_free] => 5215056
[num_used_blks] => 6
[num_free_blks] => 3
[memory_overhead] => 176
)
SEE ALSO
wincache_fcache_fileinfo(3), wincache_fcache_meminfo(3), wincache_ocache_fileinfo(3), wincache_rplist_fileinfo(3), wincache_rplist_mem-
info(3), wincache_refresh_if_changed(3), wincache_ucache_info(3), wincache_scache_info(3).
PHP Documentation Group WINCACHE_SCACHE_MEMINFO(3)