System Administration Guide, Volume I

CacheFS Statistics

CacheFS statistics enable you to:

These two pieces of information will help you determine the trade-off between your cache size and the desired performance of the cache.

The CacheFS statistics consist of three commands:

cachefslog

Specifies the location of the log file. This command also displays where the statistics are currently being logged, and enables you to halt logging. See cachefslog(1M) for more information.

cachefswssize

Interprets the log file to give a recommended cache size. See cachefswssize(1M) for more information.

cachefsstat

Displays statistical information about a specific file system or all cached file systems. The information provided in the output of this command is taken directly from the cache. See cachefsstat(1M) for more information.


Note -

The CacheFS statistics commands can be issued from any directory. You must be superuser to issue the cachefswssize(1M) command.


The statistics begin accumulating when you create the log file. When the work session length of time is up, stop the logging by using the cachefslog -h command, as described in "How to Stop the Logging Process".