Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wincache_fcache_fileinfo(3) [php man page]

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)

Check Out this Related Man Page

cachefspack(1M) 														   cachefspack(1M)

NAME
cachefspack - pack files and file systems in the cache SYNOPSIS
packing-list ] cache-directory ] [ file ... ] DESCRIPTION
The utility is used to set up and maintain files in the cache. This utility affords greater control over the cache, ensuring that the specified files will be in the cache whenever possible. Options recognizes the following options: Display pathname of the files to be cached. Specify a packing-list file containing a list of files and directories to be packed. Options within subdirectories and files can also be specified. The format and rules governing packing-list are described in packingrules(4). Directories are packed recur- sively. Symlinks that match a regular expression on a LIST command are followed. Symlinks encountered while recursively processing directories are not followed. Print a brief help summary of all the options. View information about the packed files. Pack the file or files specified by file. This is the default behavior. Strip "./" from the beginning of a pattern name. Unpack the file or files specified by file. Unpack all files in the specified cache-directory, under which the cache is stored. Operands recognizes the following operands: file A path name of a file to be packed or unpacked. RETURN VALUE
returns the following values: Successful completion. An error occurred. EXAMPLES
Pack the file projects in the cache. Pack the files projects, updates and master_plan in the cache. Unpack the file projects from the cache. Unpack the files projects, updates and master_plan from the cache. Unpack all files in the cache1 cache directory. Use the lists.pkg packing-list to specify files to be packed in the cache. The contents of lists.pkg are as follows: This example will pack all files in the directory /src/junk with .c and .h extensions that do not contain the string SCCS in the file's path name. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
cfsadmin(1M), mount_cachefs(1M), packingrules(4) cachefspack(1M)
Man Page