flexcache fstat path
flexcache eject path [-f]
flexcache stats { -C [volname] | -S [volname] | [-c [clientnamefR]] | -z }
For more information on volumes, see na_vol(1).
Displays help on the specified flexcache subcommand.
flexcache fstat path
Display statistics about the object cached at path. path must be given as a canonical pathname. That is, to display information on the file bar, residing on cache volume foo, one would use the path /vol/foo/bar. fstat avoids fetching attribute information for files that aren't already present in the cache. Note however that all directories given in path will be fetched in order to perform the required lookups. In addition to the traditional UNIX stat information, specific information used by the caching algorithms is displayed. In particular, the number of 1K blocks the file is consuming on the caching volume, and the last time the file was updated on the cache. fstat can be used on any path on the appliance.
flexcache eject path [-f]
Eject the given file from the cache. The path must be specified in the same manner as in the flexcache fstat command. The -f option ejects the file without prompting the user for confirmation.
flexcache stats { -C [volname] | -S [volname] | [-c [clientnamefR]] | -z }
For -C option on the caching filer, displays client side bandwidth savings and hit/miss stats for vol, or for all mapped FlexCache volumes if vol is unspecified. For -S option on the origin filer, displays server side statistics for clientname, or all clients if clientname is unspecified. The -z option zeroes all the stats for all FlexCache volumes.