Cisco Support Tools 1.0 User Guide How to Use the Log Groups Utility from a Command Line 144
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
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.
>cmdhelp
/? Displays syntax for a specified command. ><command> /?
appserver Specifies the system on which the utility should
run. If not specified, the utility is run on the local
system.
><app_servername>
/<commands>
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
collection. >lpd
list_systems, lsys Displays systems that can be selected for log
collection. For each system for which the
information is available, it displays:
product
system name
customer name
icm or ccm node name
process name
>lsys
add_log, al
/product
/system
/icm_customer
/icm_node
/icm_process
/ccm_node
Adds one log in the current log group.
y For ICM logs you must specify: /product,
/system, /icm_customer, /icm_node, and
/icm_process.
y For CCM logs you must specify: /product,
/system, and /ccm_node.
y For CEM, CCM, and CCS logs, you must
specify: /product and /system.
>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>
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