1cachefslog(1M)          System Administration Commands          cachefslog(1M)
2
3
4

NAME

6       cachefslog - Cache File System logging
7

SYNOPSIS

9       cachefslog [-f logfile | -h] cachefs_mount_point
10
11

DESCRIPTION

13       The  cachefslog  command  displays  where  CacheFS statistics are being
14       logged. Optionally, it sets where CacheFS statistics are being  logged,
15       or  it  halts logging for a cache specified by cachefs_mount_point. The
16       cachefs_mount_point argument is a mount point of a cache  file  system.
17       All  file  systems  cached  under the same cache as cachefs_mount_point
18       will be logged.
19

OPTIONS

21       The following options are supported. You must be super-user to use  the
22       -f and -h options.
23
24       -f logfile    Specify the log file to be used.
25
26
27       -h            Halt logging.
28
29

OPERANDS

31       cachefs_mount_point    A mount point of a cache file system.
32
33

USAGE

35       See largefile(5) for the description of the behavior of cachefslog when
36       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
37

EXAMPLES

39       Example 1 Checking the Logging of a directory.
40
41
42       The example below checks if the directory /home/sam is being logged:
43
44
45         example% cachefslog /home/sam
46         not logged: /home/sam
47
48
49
50       Example 2 Changing the logfile.
51
52
53       The example below changes the logfile of  /home/sam to /var/tmp/samlog:
54
55
56         example# cachefslog -f /var/tmp/samlog /home/sam
57         /var/tmp/samlog: /home/sam
58
59
60
61       Example 3 Verifying the change of a logfile.
62
63
64       The example below verifies the change of the previous example:
65
66
67         example% cachefslog /home/sam
68         /var/tmp/samlog: /home/sam
69
70
71
72       Example 4 Halting the logging of a directory.
73
74
75       The example below halts logging for the /home/sam directory:
76
77
78         example# cachefslog -h /home/sam
79         not logged: /home/sam
80
81
82

EXIT STATUS

84       The following exit values are returned:
85
86       0           success
87
88
89       non-zero    an error has occurred.
90
91

ATTRIBUTES

93       See attributes(5) for descriptions of the following attributes:
94
95
96
97
98       ┌─────────────────────────────┬─────────────────────────────┐
99       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
100       ├─────────────────────────────┼─────────────────────────────┤
101       │Availability                 │SUNWcsu                      │
102       └─────────────────────────────┴─────────────────────────────┘
103

SEE ALSO

105       cachefsstat(1M), cachefswssize(1M), cfsadmin(1M), attributes(5), large‐
106       file(5)
107

DIAGNOSTICS

109       Invalid path    It  is  illegal  to  specify a path within a cache file
110                       system.
111
112
113
114
115SunOS 5.11                        7 Feb 1997                    cachefslog(1M)
Impressum