Using the Log Groups Utility from a Command Line

Command Line Options

Command:

Description:

Example:

 

 

 

cmdhelp, chelp

Displays a list of commands specific to this

>cmdhelp

 

utility.

 

 

Note: Using Help or ? also displays this list, but

 

 

includes several additional ICM commands (e.g.,

 

 

echo, error_stop) not used by this utility.

 

 

 

 

/?

Displays syntax for a specified command.

><command> /?

 

 

 

appserver

Specifies the system on which the utility should

><app_servername>

 

run. If not specified, the utility is run on the local

/<commands>

 

system.

 

 

 

 

system

Note: This command is not used with the Log

 

 

Groups utility.

 

 

 

 

localhost

Note: This command is not used with the Log

 

 

Groups utility.

 

 

 

 

create_log_group, clg

Opens a session for creating a log group.

>clg <new_group_name>

 

 

 

Note: Maximum length for

 

 

 

name is 32 characters.

 

 

 

list_products, lpd

Displays products that can be selected for log

>lpd

 

collection.

 

 

 

 

list_systems, lsys

Displays systems that can be selected for log

>lsys

 

collection. 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

Adds one log in the current log group.

>al /product ICM /system

/product

y

For ICM logs you must specify: /product,

<system_name>

/icm_customer

/system

 

/system, /icm_customer, /icm_node, and

<customer_name> /icm_node

/icm_customer

 

/icm_process.

<node_name> /icm_process

/icm_node

y

For CCM logs you must specify: /product,

<process_name>

>al /product CCM /system

/icm_process

 

/system, and /ccm_node.

 

 

<system_name> /ccm_node

 

 

 

/ccm_node

y For CEM, CCM, and CCS logs, you must

<node_name>

 

 

specify: /product and /system.

>al /product CCS /system

 

 

 

 

 

 

<system_name>

 

 

 

remove_log, rl

Removes a log from current log group.

rl <log_name>

 

 

 

list_selected_log, lsl

Displays logs included in the current log group.

>lsl

 

 

 

 

Cisco Support Tools 1.0 User Guide

How to Use the Log Groups Utility from a Command Line 144

Page 144
Image 144
Cisco Systems 1.0 (1) manual Using the Log Groups Utility from a Command Line, Command Line Options