php man page for wincache_fcache_fileinfo

Query: wincache_fcache_fileinfo

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

WINCACHE_FCACHE_FILEINFO(3)						 1					       WINCACHE_FCACHE_FILEINFO(3)

wincache_fcache_fileinfo - Retrieves information about files cached in the file cache

SYNOPSIS
array wincache_fcache_fileinfo ([bool $summaryonly = false])
DESCRIPTION
Retrieves information about file cache content and its usage.
PARAMETERS
o $summaryonly - Controls whether the returned array will contain information about individual cache entries along with the file cache summary.
RETURN VALUES
Array of meta data about file cache or FALSE on failure The array returned by this function contains the following elements: o total_cache_uptime - total time in seconds that the file cache has been active o total_file_count - total number of files that are currently in the file cache o total_hit_count - number of times the files have been served from the file cache o total_miss_count - number of times the files have not been found in the file cache o file_entries - an array that contains the information about all the cached files: o file_name - absolute file name of the cached file o add_time - time in seconds since the file has been added to the file cache o use_time - time in seconds since the file has been accessed in the file cache o last_check - time in seconds since the file has been checked for modifications o hit_count - number of times the file has been served from the cache o file_size - size of the cached file in bytes
EXAMPLES
Example #1 A wincache_fcache_fileinfo(3) example <pre> <?php print_r(wincache_fcache_fileinfo()); ?> </pre> The above example will output: Array ( [total_cache_uptime] => 3234 [total_file_count] => 5 [total_hit_count] => 0 [total_miss_count] => 1 [file_entries] => Array ( [1] => Array ( [file_name] => c:inetpubwwwrootcheckcache.php [add_time] => 1 [use_time] => 0 [last_check] => 1 [hit_count] => 1 [file_size] => 2435 ) [2] => Array (...iterates for each cached file) ) )
SEE ALSO
wincache_fcache_meminfo(3), wincache_ocache_fileinfo(3), wincache_ocache_meminfo(3), wincache_rplist_fileinfo(3), wincache_rplist_mem- info(3), wincache_refresh_if_changed(3), wincache_ucache_meminfo(3), wincache_ucache_info(3), wincache_scache_info(3), wincache_scache_mem- info(3). PHP Documentation Group WINCACHE_FCACHE_FILEINFO(3)
Related Man Pages
cachefspack(1m) - hpux
wincache_refresh_if_changed(3) - php
mysqlnd_qc_get_cache_info(3) - php
mysqlnd_qc_get_core_stats(3) - php
wincache_ucache_set(3) - php
Similar Topics in the Unix Linux Community
Fiber Channel StorageTek Array Visible to OS
Populating an Array
shell script to convert file_size from bytes to megabytes
Use Awk and Array to get total size of files
Help with replacing Array elements