Volume and database management utilities > File Management System (FMS) utilities
FSCWholeFileCacheUtil
The primary purpose of this utility is to purge files from the whole file cache. This utility purges the cache based on file age, subdirectory size, and/or available disk space. This utility also purges misplaced files (files that are stored in the wrong cache partition or subdirectory). This utility can also be used to clear entire cache partitions, or to redistribute cached files among a new list of partitions. By default, this utility is stored in the FSC_HOME/bin directory. Syntax FSCWholeFileCacheUtil {-clear | -purge | -redistrib} [-d=cache-root-directory-path] [-l=file-name] [-maxf=maximum-files-per-subdirectory] [-maxage=maximum-file-age] [-pctfree=percent-disk-free] [-temp=temporary-cache-directory-path] [-to=destination-partitions] [-from=source-partitions] [-copy] [-h] Arguments -clear Clears all permanent cache files from the cache. -purge Performs a single purge cycle on the cache. -redistrib Redistributes files to new partitions. This is useful when partitions are added to (or removed from) the cache, when the cache is cloned (copied), or when the cache is moved to another location. -d Specifies the cache partition data path. Because each partition is purged or cleared independently, only one partition path is accepted here. If not set, the current directory is used. Use with either the -clear or -purge arguments. -l Specifies the full path name of the log file. If not set, no logging is performed. Use with either the -clear or -purge arguments. -maxf Specifies the maximum number of files per subdirectory. If the number of files stored in the subdirectory exceeds the configured amount, files are automatically purged to the maximum number of files specified. Valid values are 1024 through 10240. The default setting is 10240. Use only with the -purge argument. -maxage Specifies (in days) the maximum file age. All cache files older than the specified age are purged. Valid values are 0 through 3650. The default setting is 3650. Setting this argument to 0 clears the entire cache. Use only with the -purge argument. -pctfree Specifies the minimum percentage of disk space to remain free. Valid values are 0 through 100. The default setting is 0. Setting this argument to 0 purges the cache by only the subdirectory count specified by the -maxf argument and the file age specified by the -maxage argument. Setting this argument to 100 clears the entire cache. Use only with the -purge argument. -temp Specifies the directory location to store temporary cache purge data. The default setting is the directory set by the -d argument. Use only with the -purge argument. -to Specifies the source cache partition data path list. Redistribution almost always involves multiple partitions. This is a comma-separated list of all of the cache partition paths to be included in the final FSC whole file cache at the conclusion of the redistribution, in the same format as the FSC_WholeFileCacheLocation property in the
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/uqa1737253718952/dwu1737253719911/xid600932.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)