Displays information about a cache file system.
cachefsstat [ -z ] [ Path... ]
The cachefsstat command displays statistical information about the cache file system mounted on Path. The statistical information includes cache hits and misses, consistency checking, and modification operations. If Path is not specified, all mounted cache file systems are used. cachefsstat can also be used to reinitialize this information (see -z flag).
The statistical information includes the following:
hit rate | The percentage of cache hits over the total number of attempts, followed by the actual numbers of hits and misses. |
consistency checks | The number of consistency checks performed, followed by the number that passed, and the number that failed. |
modifies | The number of modify operations, including, for example, writes and creates. |
The following exit values are returned:
0 | success |
non-zero | an error has occurred. |
cachefsstat /home/sam
The system displays the following:
cache hit rate: 73% (1234 hits, 450 misses) consistency checks: 700 (650 pass, 50 fail) modifies: 321
/usr/sbin/cachefsstat | Contains the cachefsstat command. |
The cachefslog command, cachefswssize command, and cfsadmin command.