Table 3-2 File Monitoring command options
Option |
Description |
---|---|
-Flv VOLUME_NAME, --Files --list --volume VOLUME_NAME |
Lists all open files by the specified volume. NOTE:Listing all files on a volume is a time-consuming operation if too many files are open, so use this option sparingly. |
-Fln CONNECTION_ID, --Files --list --connection CONNECTION_ID |
Lists files opened by the user session with the specified connection number. |
-Flp FILE_PATH, --Files --list --path FILE_PATH |
Lists users who opened the file with the specified file path. |
-FCv VOLUME_NAME, --Files --Close -- volume VOLUME_NAME |
Closes all open files with the specified volume. |
-FCn CONNECTION_ID, --Files --Close --connection CONNECTION_ID |
Closes the files opened by the user session with the specified connection number. |
-FCp FILE_PATH, --Files --Close --path FILE_PATH |
Closes the file with the specified file path. |
-Vl, --Vols --list |
Lists all AFP configured volumes. |
-Va VOLUME_NAME:ALIAS_NAME, --Vols --add VOLUME_NAME:ALIAS_NAME |
Add or modify entries in volume configuration file. An alias name is optional. |
You use the file listing options to view the following:
All open files within a particular volume
All open files by connection
All users who have open file handles for a particular file
You use the file closing options to close the following:
All open files within a particular volume
All open files by a particular connection
All open file handles associated with a particular file
If a user tries to perform any operation on an open file that was closed by using this utility, the changes might appear next time the file is opened. This depends on the application. The data that was saved before the file was closed will be intact.
IMPORTANT:This is not the recommended way to close files. It is provided as a tool to administrators to force close open files.