ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service cache unix-group group-by-gid show

    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

    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

    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

    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

    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

    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
    Top of Page