Controls the logging of a cache file system.
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.
Item | Description |
---|---|
-f LogFile | Specifies the log file to be used. Note: You must have root
authority in order to use this flag.
|
-h | Halts logging. Note: You must have root authority in order
to use this flag.
|
The following exit values are returned:
Item | Description |
---|---|
0 | success |
non-zero | an error has occurred. |
cachefslog /home/sam
not logged: /home/sam
cachefslog -f /var/tmp/samlog /home/sam
/var/tmp/samlog: /home/sam
cachefslog -h /home/sam
not logged: /home/sam
Item | Description |
---|---|
/usr/sbin/cachefslog | Contains the cachefslog command. |