Controls the logging of a cache file system.
cachefslog [ -fLogFile |-h ] Cachefs_Mount_Point
The cachefslog command displays where CacheFS statistics are being logged. Optionally, it sets where CacheFS statistics are being logged, or it halts logging for a cache specified by Cachefs_Mount_Point. The Cachefs_Mount_Point argument is a mount point of a cache file system. All file systems cached under the same cache as Cachefs_Mount_Point are logged.
-f LogFile | Specifies the log file to be used. |
-h | Halts logging. |
The following exit values are returned:
0 | success |
non-zero | an error has occurred. |
cachefslog /home/sam
The system displays the following:
not logged: /home/sam
cachefslog -f /var/tmp/samlog /home/sam
The system displays the following:
/var/tmp/samlog: /home/sam
cachefslog -h /home/sam
The system displays the following:
not logged: /home/sam
Note: You must have root user authority to use the -f and -h flags.
/usr/sbin/cachefslog | Contains the cachefslog command. |
The cachefsstat command, cachefswssize command, and cfsadmin command.