Previous Topic: Configure the Cache Maintenance Service

Next Topic: Export Entries From Classification Cache

About CacheUtil.exe

You can use the CacheUtil utility to perform various operations on the classification cache. For example, you can purge cache entries based on their timestamp or export cache entries to .csv files.

Note: CacheUtil.exe uses credentials stored in the web.config file on the CCS web server to connect to the classification cache.

CachUtil.exe Installation Folder

Find CacheUtil.exe in the \bin subfolder of the CCS installation folder on your CCS primary or secondary server.

Help on CacheUtil

Full usage instructions are available for CacheUtil.exe. Go to the CCS \bin folder and run the following command:

CacheUtil /?
Usage

CacheUtil commands use the following format:

CacheUtil <operation> [-config-file {path}] <argument>

Where:

<operation>

Specifies the type of CacheUtil operation. The following values are supported:

-purge

Purges older entries from the classification cache. You can specify the maximum age of entries that you want to retain.

-export

Exports all entries in the classification cache to .csv files.

-creds

Stores user credentials in web.config file in encrypted form. The CCS web service uses these credentials to connect to the classification cache.

-config-file

(Optional) Specifies the path to web.config.

If you omit this argument, CacheUtil.exe uses the version of web.config in the \CCS subfolder of the CA DLP installation folder.

You do not normally need to set this argument. You only need to set this argument if, for example, you want to connect to a different classification cache.

<argument>

Specifies an argument for the purge, export, or credentials operation. For example, purge arguments specify the maximum age of cache entries that you want to retain (all older entries are purged). See the following sections for examples.

More information:

Purge Entries From the Classification Cache

Export Entries From Classification Cache

Storing User Credentials Securely in Web.Config