The list-host command outputs the properties (such as IP address, distribution, and so on) of a given host.
Parameter |
-h hostname – Specify the host name. |
|
Syntax |
uce_cli -lh -h hostname -u username -p password |
|
Example |
uce_cli -lh -h webserver2 -u admin -p 123 |
|
Result Example |
|
To get valid values for the -h parameter, use the -lah command.
Note that even if a managed host is not connected to Sun Update Connection – Enterprise at the time of the command, the data is still retrieved. An error number will be given (example: FailedErrCode = 34014464) if the host is not online.