Sun Update Connection - Enterprise 1.0 User's Guide

List Logs (-ll) Command

The list-logs command outputs logs for actions on selected components of a host or of a group. You might ask to see, for example, uninstallation actions on Local RPMs for the WebServers group, installations of Networking components on one host, or any install or uninstall of Software on All Hosts.

Parameter

  • -A action Specify the action. Legal values are All Actions, Installs, and Uninstalls.

  • -dlt delimiter Specify the delimiter for the output.

  • -g groupname Specify the name of the group.

  • -h hostname Specify the name of the host.

Syntax

uce_cli -ll -A action [ -dlt "delimiter" ] ( -g group | -h host ) -u username -p password

Example

uce_cli -ll -A Installs -h lnx13 -u admin -p 123

Result Example

Tue May 4 16:32:17 2004 lnx13 Install httpd-devel-2.0.3-1 (RH9_IA32) Job_buildWebServer rochelle

Explanation: time, host name, action, component, distribution, job name, and user name. 

Use the -lg to get values for the -g. Use the -lah to get values for the -h. Use the -ld to get values for the -D. Use the -fc to get values for the -T.