list-cache-rules

Syntax

tadm list-cache-rules common_options [--all] --config=config_name --vs=vs_name

Description

Use this command to view a list of caching rules defined for the specified virtual server.

Options

For information about common_options, run the help command.

--all|-l

If you specify this option, the command displays the condition for each caching rule defined for the specified virtual server.

--config|-c

Specify the configuration for which you want to list cache rules.

--vs|-s

Specify the name of the virtual server.

Example

tadm list-cache-rules --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
 --no-prompt --config=www.example.org 
--vs=soa.example.org

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-cache-rule, delete-cache-rule