System Administration Guide: Basic Administration

How 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—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