Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cachefswssize(1M)

cachefsstat(1M)

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, and optionally sets where cacheFS statistics are being logged, or halts logging for a cache specified by path. path may be a cache or a mountpoint of a cache filesystem.  All filesystems cached under the same cache as path will be logged. 

You must be super-user 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

cachefswssize(1M), cachefsstat(1M)

DIAGNOSTICS

Invalid path
It is illegal to specify a path within a cache filesystem.

SunOS 5.5/x86  —  Last change: 8 Nov 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026