Sun Update Connection - Enterprise 1.0 User's Guide

List Groups (-lg) Command

The list-group command lists all the groups. Use this command to get values for the -g parameter used in other CLI commands.

Parameter

-dlt delimiter Specify the delimiter for the output.

Syntax

uce_cli -lg [ -dlt "delimiter" ] -u username -p password

Example

uce_cli -lg -u admin -p 123

Result Example


RH9_IA32 hosts
SLES8_S390 hosts
All Hosts
topGroup
topGroup/nestedGroup

Notice that nested groups are listed in a path. For any command that calls for the -g parameter to list a group, if you want a nested group, type its complete group path.

Groups that are named distribution_architecture hosts are default distribution groups. When an agent registers with the SDS, its distribution is recognized and the host is added to the appropriate distribution group. Each distribution group contains all the managed hosts of that distribution. The distribution groups’ host lists are system-defined and cannot be manually changed.

The All Hosts group is also a default group. It contains the complete list of managed hosts in your environment.