Lists device classes that match the specified criteria.
getdgrp [ -a ] [ -e ] [ -l ][ Criteria] [ DeviceClassList ]
Lists device classes that contain devices matching the given criteria. The criteria is given in the form of expressions.
| Item | Description | 
|---|---|
| -a | Indicates that a device must match all criteria of the device class to be included in the report generated by this command. The -a flag has no effect if no criteria are defined. | 
| -e | Indicates that thedevices classes specified in the parameter list be excluded from the report generated by this command. The -e flag has no effect if no devices are specified. | 
| -l | Indicates that all device classes that are subject to the -e option and the dgroup list, be listed even if they contain no valid device members. This option has no affect if Criteria is specified on the command line. | 
| Item | Description | 
|---|---|
| Criteria | Defines criteria that a device must match before
a device class to which it belongs can be included in the generated
list. Criteria can be specified as an expression or a list
of expressions which a device must meet for its class to be included
in the list generated by getdgrp. If no criteria are given,
all device classes are included in the list. Devices must satisfy at least one of the criteria in the list. However, the -a option can be used to specify that a "logical and" operation should be performed. Then, only those classes containing devices that match all of the criteria in a list will be included. There are four possible expression types which the criteria specified
in the Criteria parameter may follow:
 
 The following are the valid device attributes:
 
 | 
| DeviceClassList | Specifies device class name in the Customized Device Configuration database or in the Predefined Device Configuration database. | 
getdgrpadapter 
aio 
bus 
cdrom 
disk 
diskette 
gxme 
if 
keyboard 
lft 
logical_volume 
lvm 
memory 
mouse 
planar 
processor 
pty 
pwrmgt 
rcm 
sys 
tape 
tcpip 
ttygetdgrp type=logical_volumelogical_volumegetdgrp type=logical_volume alias=sys0logical_volume
sysgetdgrp status=definedlogical_volume
posix_aio 
rcmgetdgrp status:* processor processor getdgrp status!:* processor| Item | Description | 
|---|---|
| /usr/sbin/getdgrp | Contains the getdgrp command |