QUERY SERVERGROUP (Query a server group)

Use this command to display information about server groups and group members.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagramQUERY SERVERGroup*group_name

Parameters

group_name
Specifies the server group to query. This parameter is optional. You can use wildcard characters to specify this name.

Example: List server groups

From a managed server, query all server groups. Field descriptions for field descriptions.
query servergroup *
Server Group    Members         Description          Managing Profile 
------------    ------------    -----------------    ---------------- 
ADMIN_GROUP     SERVER_A        Headquarters         ADMIN_INFO
                SERVER_B
                SERVER_C
                SERVER_D    

Field descriptions

Server Group
The name of the server group.
Members
The group members.
Description
The description of the server group.
Managing Profile
The profile or profiles to which the managed server subscribed to get the definition of the server groups.

Related commands

Table 1. Commands related to QUERY SERVERGROUP
Command Description
COPY SERVERGROUP Creates a copy of a server group.
DEFINE SERVERGROUP Defines a new server group.
DELETE SERVERGROUP Deletes a server group.
QUERY SERVER Displays information about servers.
RENAME SERVERGROUP Renames a server group.
UPDATE SERVERGROUP Updates a server group.