Cisco Support Tools 1.0 User Guide How to Use the Compare Registries Utility from a Command Line 139
Using the Compare Registries 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>
/<options>
system Specifies the target system the utility should run
against. If not specified, the utility is run against
the local system.
> /system <host_name>
/<options>
localhost Sets the network address of name of the target
node agent to the local host.
Note: By default, unless a different system is
specified (using the system command) the local
host is assumed to be the target system.
>localhost
compare, comp
./systems
./files
./system2file
Compares the contents of two registries and
displays the result.
You can compare:
y The current system to a different system
y Two registry files in the Repository
y The current system to a registry file in the
Repository
Optionally, you can include an argument to dump
this output to a local file. Output is stored as
XML-formatted text.
When viewing results:
y Values whose data are identical in both
systems are prefaced by Common Value =
y Values whose data are unique to the current
system are prefaced by SRC =
y Values whose data are unique to the current
system are prefaced by SRC =
>compare /systems <2nd
system>
OR
>compare /file <reg_file_1>
<reg_file_2>
OR
>compare /system2file
<reg_file>
instance Used in conjunction with the compar e command,
specifies the customer instance whose registry
values will be compared.
If not specified, the List command automatically
returns registry values for the first customer
instance it finds on each compared system.
>compare /systems <2nd
system> /instance
<instance_name>