System Administration Guide, Volume 1

How to Set Up the Logging Process

  1. Set up the logging process with the cachefslog command.

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


    Sets up the logging process. 


    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 (cached file system) for which statistics are being collected.  

  2. Verify that you set up the log file correctly by using the cachefslog command, as follows:

    $ cachefslog mount-point

Example--Setting Up the Logging Process

The following example sets up the log file samlog to collect statistics about /home/sam. The location of samlog is /var/tmp/samlog.

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