Chapter 12: Using Cisco Tools from a Command Line

 

How to Use the Log Groups Utility from a Command Line

Command:

Description:

Example:

list_systems, lsys

Displays systems that can be selected for log collection.

>lsys

 

For each system for which the information is available, it

 

 

displays:

 

product

system name

customer name

icm or ccm node name

process name

add_log, al /product

/system

/icm_customer

/icm_node

/icm_process

/ccm_node

remove_log, rl

list_selected_log, lsl

log_group_description, lgdesc

close_log_group, closelg

/save

list_log_groups, lslg

Adds one log in the current log group.

For ICM logs you must specify: /product, /system, /icm_customer, /icm_node, and /icm_process.

For CCM logs you must specify: /product, /system, and /ccm_node.

For CEM, CCM, and CCS logs, you must specify: /product and /system.

Removes a log from current log group.

Displays logs included in the current log group.

Optionally, sets a description for the current log collection.

Closes and saves the current log group to the application server's Repository.

When closing a new group, closelg automatically saves the group.

When closing an existing group that was opened for editing, you must explicitly choose save by entering: closelg /save YES.

To close without saving, enter: closelg /save NO.

List all log groups in the application server's Repository.

>al /product ICM /system <system_name> / icm_customer <customer_name> / icm_node <node_name> / icm_process <process_name>

>al /product CCM /system <system_name> /ccm_node <node_name>

>al /product CCS /system <system_name>

rl <log_name>

>lsl

>lgdesc <description>

>closelg

>lslg

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

145

Page 159
Image 159
Cisco Systems 2.1(1) manual Rl logname Lsl Lgdesc description Closelg Lslg, 145