cachefslog(1M)
NAME
cachefslog − Cache File System logging
SYNOPSIS
cachefslog [ −f logfile | −h ] path
AVAILABILITY
SUNWcsu
DESCRIPTION
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 path. path may be a cache or a mount point of a cache file system. All file systems cached under the same cache as path will be logged.
You must be superuser to use the −f and −h options.
OPTIONS
The following options are supported:
−f logfile Specify the log file to be used.
−h Halt logging.
EXAMPLES
The example below checks if the directory /home/sam is being logged:
example% cachefslog /home/sam
not logged: /home/sam
The example below changes the logfile of /home/sam to /var/tmp/samlog:
example# cachefslog -f /var/tmp/samlog /home/sam
/var/tmp/samlog: /home/sam
The example below verifies the change of the previous example:
example% cachefslog /home/sam
/var/tmp/samlog: /home/sam
The example below halts logging for the /home/sam directory:
example# cachefslog -h /home/sam
not logged: /home/sam
EXIT STATUS
The following exit values are returned:
0 success
non-zero an error has occurred.
SEE ALSO
cachefsstat(1M), cachefswssize(1M), cfsadmin(1M)
DIAGNOSTICS
Invalid path
It is illegal to specify a path within a cache file system.
SunOS 5.5.1 — Last change: 8 Nov 1994