Unix and Linux Discussions Tagged with logging |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
16,394 |
Solaris |
|
|
|
4 |
6,933 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,141 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,591 |
IP Networking |
|
|
|
1 |
2,996 |
Windows & DOS: Issues & Discussions |
|
|
|
16 |
4,892 |
Solaris |
|
|
|
3 |
2,405 |
AIX |
|
|
|
9 |
2,906 |
Programming |
|
|
|
14 |
6,045 |
Programming |
|
|
|
2 |
3,576 |
Shell Programming and Scripting |
|
|
|
1 |
2,091 |
Shell Programming and Scripting |
|
|
|
0 |
6,781 |
IP Networking |
|
|
|
3 |
4,350 |
Cybersecurity |
|
|
|
2 |
3,677 |
UNIX for Advanced & Expert Users |
|
|
|
11 |
8,196 |
Emergency UNIX and Linux Support |
|
|
|
1 |
3,559 |
Shell Programming and Scripting |
|
|
|
1 |
4,763 |
Solaris |
|
|
|
3 |
2,901 |
Shell Programming and Scripting |
|
|
|
3 |
3,035 |
UNIX and Linux Applications |
|
|
|
1 |
3,123 |
Shell Programming and Scripting |
|
|
|
0 |
3,971 |
MySQL DevZone RSS |
|
|
|
1 |
2,100 |
Shell Programming and Scripting |
|
|
|
3 |
7,487 |
AIX |
|
|
|
2 |
9,660 |
Shell Programming and Scripting |
|
|
|
0 |
2,917 |
UNIX and Linux RSS News |
|
|
|
5 |
5,343 |
Shell Programming and Scripting |
|
|
|
3 |
16,561 |
HP-UX |
|
|
|
0 |
1,218 |
Software Releases - RSS News |
|
|
|
0 |
839 |
Software Releases - RSS News |
|
|
|
0 |
4,585 |
Solaris |
|
|
|
0 |
1,008 |
Software Releases - RSS News |
|
|
|
0 |
1,148 |
Software Releases - RSS News |
|
|
|
0 |
1,084 |
Software Releases - RSS News |
|
|
|
0 |
1,259 |
Software Releases - RSS News |
|
|
|
1 |
3,018 |
Shell Programming and Scripting |
|
|
|
0 |
1,422 |
Software Releases - RSS News |
|
|
|
2 |
4,473 |
IP Networking |
|
|
|
3 |
1,843 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,173 |
Software Releases - RSS News |
|
|
|
0 |
1,137 |
Software Releases - RSS News |
cachefslog(1M) cachefslog(1M)
NAME
cachefslog - Cache File System logging
SYNOPSIS
logfile| cachefs_mount_point
DESCRIPTION
The command is used to enable or disable logging for a cachefs_mount_point. When the command is used without any options, it displays the
logfile. The logfile contains information on the operation performed on a cachefs_mount_point and statistics used by to get the working
set size of cache directory. The specified logfile will contain information for all the CacheFS mount points using the same cache direc-
tory. A logfile and a cache directory have a 1-to-1 mapping; that is, even if a cache directory is removed and recreated with the same
name, the logfile used in the previous instance of the cache directory cannot be reused with the new cache directory.
Enabling logging may have performance impact, even if minimal, on the operations for all the CacheFS mount points using the same cache
directory. The command is mainly used for debugging purposes.
Options
The following options are supported. You must be a superuser to use the and options.
Specify the logfile to be used.
Halt logging.
Operands
cachefs_mount_point
A mount point of a cache file system.
RETURN VALUE
returns the following values:
Success.
non-zero An error occurred.
EXAMPLES
1. Checking the logging of a directory.
This example checks if the CacheFS file system is being logged:
2. Changing the logfile.
This example changes the logfile of to
3. Verifying the change of a logfile.
This example verifies the change of the previous example:
4. Halting the logging of a directory.
This example halts logging for the directory:
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
cachefsstat(1M), cachefswssize(1M), cfsadmin(1M).
cachefslog(1M)