vserver services name-service cache netgroups members show

Display netgroup cache entries

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

Description

The vserver services name-service cache netgroups members show command displays the cached members of the netgroups.

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 cached members of a netgroup.
[-vserver <vserver name>] - Vserver
Use this parameter to specify the Vserver for which the cached netgroup members entries need to be displayed.
[-netgroup <text>] - Netgroup
Use this parameter to display information only about the cached members that belong to the specified netgroup.
[-hosts <text>] - Hosts
Use this parameter to display information only about the cached netgroups that have the specifed host as a member.
[-create-time <MM/DD/YYYY HH:MM:SS>] - Create Time
Use this parameter to display information only about the netgroup member entries that were cached at the specified time.
[-source {none|files|dns|nis|ldap|netgrp_byname|dc}] - Source of the Entry
Use this parameter to display information only about the cached netgroup member entries that have the specified look-up source.

Examples

The following example displays all the cached netgroup members entries:
cluster1::> vserver services name-service cache netgroups members show

The following example displays all the cached netgroup members entries for Vserver vs0:

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