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