Table 3-2 File Monitoring command options
Option |
Description |
---|---|
-Flp FILE_PATH, --Files --list --path=FILE_PATH |
Lists users who opened the file with the specified file path. |
-Flv VOLUME_NAME, --Files --list --volume=VOLUME_NAME |
Lists users and the files opened by them on 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 ID. |
-FCp FILE_PATH, --Files --Close --path=FILE_PATH |
Closes an open file with the specified file path. |
-FCn CONNECTION_ID, --Files --Close --connection=CONNECTION_ID |
Closes the files opened by the user session with the specified connection ID. |
-FCv VOLUME_NAME, --Files --Close --volume=VOLUME_NAME |
Closes all open files on the specified volume. |
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 the 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.