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

vserver services name-service cache unix-group group-by-gid 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-gid show command displays the group information cached by the group identifier or GID.

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 the group identifier or GID.

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

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

[-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.

[-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.

[-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}] - Source of the Entry (privilege: advanced)

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

Examples

The following example displays all the groups which are cached by the group identifier or GID:

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

The following example displays all the group entries cached by the group identifier or GID for Vserver vs0:

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