Skip to main content

vserver services name-service cache unix-group group-by-name show

Contributors
Suggest changes

Display group struct

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

Description

The vserver services name-service cache unix-group group-by-name show command displays the group information cached by group name.

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 group entries cached by group name.

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

Use this parameter to specify the Vserver for which the group entries that are cached by group name need to be displayed.

[-gr-name <text>] - gw_name field (privilege: advanced)

Use this parameter to display information only about the cached group entries that have the specified group name.

[-gr-gid <integer>] - gr_gid field (privilege: advanced)

Use this parameter to display information only about the cached group entries that have the specified group identifier or GID.

[-create-time <MM/DD/YYYY HH:MM:SS>] - Create Time (privilege: advanced)

Use this parameter to display information only about the group entries that were cached at the specified time.

[-source {none|files|dns|nis|ldap|netgrp_byname|dc}] - Source of the Entry (privilege: advanced)

Use this parameter to display information only about the group entries cached by group name that have the specified lookup source.

Examples

The following example displays all the groups which are cached by group name:

cluster1::> vserver services name-service cache unix-group group-by-name show

The following example displays all the group entries cached by group name for Vserver vs0:

cluster1::> vserver services name-service cache unix-group group-by-name show -vserver vs0