Shows the current size of the cache, the amount of cache in use, and the type of cache
Synopsis
cm getcachesize [-help]
Options
-help
Prints the online help for this command.
Description
The cm getcachesize command displays the current size of the cache available to the Cache Manager and the amount in use when the command is issued. It also
displays the type of cache in use on the machine. The command works both on machines using disk caching and on machines using memory caching.
The information displayed by the command comes from the kernel of the workstation on which the command is issued. On machines using disk caching, the current cache size may disagree with the default setting specified in the CacheInfo file if the cache size was set with the cm setcachesize command. Regardless of the type of caching (disk or memory) in use, the size may also disagree with the default setting if it was changed with the dfsd command.
Privilege Required
No privileges are required.
Output
The cm getcachesize command displays the following output:
DFS using amount of the cache's available size 1K byte (type) blocks.
In the output, amount is the number of kilobyte blocks the Cache Manager is currently using, size is the total number of kilobyte blocks available to the Cache Manager (the current cache size), and type is the type of cache (disk or memory) in use on the machine.
Examples
The following command shows the output on a machine with a 25,000 kilobyte disk cache:
$ cm getcachesize
DFS using 22876 of the cache's available 25000 1K byte (disk) blocks.
Related Information
Commands: cm setcachesize(8dfs)
Files: CacheInfo(4dfs)