cm flushfileset(8dfs)

Forces the Cache Manager to discard data cached from filesets that contain specified files or directories

Synopsis

cm flushfileset [-path {filename | directory_name}...] [-help]

Options

-path {filename | directory_name}
Specifies a file or directory from each fileset to be flushed. A file for which a full path name is not specified is assumed to reside in the current working directory. If this option is omitted, the fileset containing the current working directory is flushed.

-help
Prints the online help for this command. All other valid options specified with this option are ignored.

Description
The cm flushfileset command forces the Cache Manager to flush data cached from filesets that contain each file or directory specified with the -path option. All data cached from these filesets is discarded. The next time the data is requested, the Cache Manager contacts the File Exporter to obtain the current version, along with new tokens and other associated status information.

This command does not discard any altered data in the cache not written to the central copy maintained by the File Exporter. It also does not affect data in the buffers of application programs.

It is also possible to flush data cached from specific files or directories with the cm flush command. To force the Cache Manager to update fileset-related information, use the cm checkfilesets command.

Privilege Required
No privileges are required.

Examples
The following command flushes data cached from the fileset containing the current working directory and the directory reports, both of which are at the same level in the file tree:

$ cm flushf . ../reports

Related Information
Commands: cm checkfilesets(8dfs)

cm flush(8dfs)