System Administration Guide: Devices and File Systems

ProcedureHow to Set Up CacheFS Logging

  1. Set up logging.

    $ cachefslog -f log-file-path /mount-point

    Sets up logging.


    Specifies the location of the log file. The log file is a standard file you create with an editor, such as vi.


    Designates the mount point (CacheFS file system) for which statistics are being collected.

  2. Verify that you correctly set up the log file.

    $ cachefslog /mount-point

Example 20–13 Setting Up CacheFS Logging

The following example shows how to set up the /var/tmp/samlog log file to collect statistics about the /home/sam directory.

$ cachefslog -f /var/tmp/samlog /home/sam
  /var/tmp/samlog: /home/sam