Skip to main content
A newer release of this product is available.

vserver services name-service cache hosts settings show

Contributors
Suggest changes

Display Hosts Cache Configuration

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The vserver services name-service cache hosts settings show command displays information about the hosts cache configuration of the specified Vserver.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

Use this parameter to display detailed information about the hosts cache configuration settings.

[-vserver <vserver name>] - Vserver (privilege: advanced)

Use this parameter to display information about the hosts cache configuration settings for the Vserver you specify.

[-is-enabled {true|false}] - Is Cache Enabled? (privilege: advanced)

Use this parameter to display information only about the hosts cache configuration settings that have the specified cache enabled setting. Value true displays only the entries that have cache enabled and value false displays only the entries that have cache disabled.

[-is-negative-cache-enabled {true|false}] - Is Negative Cache Enabled? (privilege: advanced)

Use this parameter to display information only about the hosts cache configuration settings that have the specified negative cache enabled setting. Value true displays only the entries that have negative cache enabled and value false displays only the entries that have negative cache disabled.

[-ttl <[<integer>h][<integer>m][<integer>s]>] - Time to Live (privilege: advanced)

Use this parameter to display information only about the hosts cache configuration settings that have the specified Time to Live.

[-negative-ttl <[<integer>h][<integer>m][<integer>s]>] - Negative Time to Live (privilege: advanced)

Use this parameter to display information only about the hosts cache configuration setings that have the specified negative Time to Live.

Examples

The following example shows the hosts cache configuration settings for Vserver vs0:

cluster1::> vserver services name-service cache hosts settings show -vserver vs0

The following example shows the hosts cache configuration settings that have cache disabled:

cluster1::> vserver services name-service cache hosts settings show -is-enabled false