groups

Purpose

Lists all the user groups to which the specified user belongs.

Syntax and Description

groups diskgroup user

Table 10-71 lists the syntax options for the groups command.


Table 10-71 Options for the groups command

Option Description

diskgroup

Name of the disk group to which the user belongs.

user

Name of the user.


Examples

The following is an example of the groups command that displays the user groups of the data disk group to which the oracle1 user belongs.

Example 10-80 Using the ASMCMD groups command

ASMCMD [+] > groups data oracle1
asm_data