Sun Update Connection - Enterprise 1.0 User's Guide

Save Group Inventory (-sgi) Command

The save-group-inventory command saves a snapshot of the inventory of each host in the given group.

Parameter

  • -g groupname Specify the name of the group.

  • -sn suffix-name Specify the name of the snapshot suffix. When you save a snapshot for a group, a snapshot is created with the following file name format: hostname-suffix-timestamp.

Syntax

uce_cli -sgi -g "groupname" -sn suffix -u username -p password

Example

uce_cli -sgi -g WebServers -sn wsrvrs -u admin -p 123

Result Example


lnx01-wsrvrs-932111203
lnx12-wsrvrs-933111203
admin0-wsrvrs-9341112033
web13-wsrvrs-93111203

To get valid values for -g, use the -lg command.