System Administration Guide: Devices and File Systems

ProcedureHow to Locate the CacheFS Log File

  1. Display where CacheFS statistics are being logged.

    $ cachefslog /mount-point

    where /mount-point specifies the CacheFS file system for which you want to view the statistics.

    You can also use the cachefslog command with no options to locate a log file for a particular mount point.

Example 19–14 Locating the CacheFS Log File

The following example shows what you would see if a log file has been set up. The location of the log file is /var/tmp/stufflog.

$ cachefslog /home/stuff
	 /var/tmp/stufflog: /home/stuff

The following example shows that no log file has been set up for the specified file system.

$ cachefslog /home/zap
	not logged: /home/zap