Before using the CacheFS statistics commands, you must:
Set up your cache using the cfsadmin(1M) command.
Decide on an appropriate length of time to allow statistical information to collect in the log file you create. The length of time should equal a typical work session; for example, a day, a week, or a month.
Select a location or path for the log file. Make sure there is enough space to allow for the growth of the log file. The longer you intend to allow statistical information to collect in the log file, the more space you will need.
The following procedures are presented in a recommended order. The order is not required.