![]() |
![]() |
| ||||||||||||||
How to Stop CacheFS LoggingUse the cachefslog -h option to stop logging.
The following example shows how to stop logging on /home/stuff.
If you get a system response other than the one specified here, you did not successfully stop logging. Check to see if you are using the correct log file name and mount point. How to View the Working Set (Cache) SizeYou might want to check if you need to increase the size of the cache. Or, you might want to determine what the ideal cache size is based on your activity since you last used the cachefslog command for a particular mount point.
Example--Viewing the Working Set (Cache) SizeIn the following example, the end size is the size of the cache at the time you issued the cachefswssize command. The high water size is the largest size of the cache during the time frame in which logging occurred.
Viewing CacheFS StatisticsYou might want to view certain information about a specific CacheFS file system. The following table explains the terminology that is displayed in the statistics output. Table 41-2 CacheFS Statistics Terminology
How to View CacheFS StatisticsView the statistics with the cachefsstat command. You can view the statistics at any time. For example, you do not have to set up logging in order to view the statistics.
/mount-point specifies the CacheFS file system for which you want to view the statistics. If you do not specify the mount point, statistics for all mounted CacheFS file systems will be displayed. For more information, see cachefsstat(1M). Example--Viewing CacheFS StatisticsThis example shows how to view statistics on the cached file system, /home/sam.
| ||||||||||||||
| ||||||||||||||