Skip to main content

vserver services name-service cache netgroups settings show

Contributors
Suggest changes

Display Netgroup Cache Configuration

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

Description

The vserver services name-service cache netgroups settings show command displays information about the netgroups 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 netgroups cache configuration settings.

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

Use this parameter to display information about the netgroups 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 netgroups 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 netgroups 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>d][<integer>h][<integer>m][<integer>s]>] - Time to Live (privilege: advanced)

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

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

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

[-ttl-members <[<integer>d][<integer>h][<integer>m][<integer>s]>] - TTL for netgroup members (privilege: advanced)

Use this parameter to display information only about the netgroups cache configuration settings that have the specified Time to Live for netgroup members.

Examples

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

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

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

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