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

/<options>

 

system.

 

 

 

 

system

Specifies the target system the utility should run

> /system <host_name>

 

against. If not specified, the utility is run against

/<options>

 

the local system.

 

 

 

 

localhost

Sets the network address of name of the target

>localhost

 

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.

 

 

 

 

query, qry

Displays detailed information about the target

>list

 

system.

OR

 

 

 

For a detailed listing of displayed information,

>list <localfile_path\filename>

 

see How to Use the System Interrogate Screen.

 

 

 

Optionally, you can include an argument to dump

 

 

this output to a local file. Output is stored as

 

 

XML-formatted text.

 

 

 

 

save

Saves the latest query command results to a file

>save

 

in the application server's Repository.

OR

 

 

 

Saved output is stored as XML-formatted text.

>save <filename>

 

 

 

If no file name is specified, output is saved to a

 

 

file named: SysQuery <host_name>

 

 

<timestamp>.xml.

 

 

If desired, you can include an argument that

 

 

specifies a file name.

 

 

 

 

files

Displays the list of System Interrogate files in

>files

 

the target system's Repository.

 

 

 

 

view

Displays the contents of a System Interrogate

>view <filename>

 

file from the Repository on the application

OR

 

server.

 

>view <filename>

 

 

 

 

<localfile_path\filename>

 

 

 

download, dl

Downloads a local copy of a System Interrogate

>download

 

file from the application server's Repository.

<repository_filename>

 

Optionally, you can include a /text argument to

<local_filename> /text

 

 

 

convert the file from XML-formatted text to plain

OR

 

text.

>download

 

 

 

 

<repository_filename>

 

 

<localfile_path\filename> /text

 

 

 

remove, rm

Deletes a specified System Interrogate file from

>remove <filename>

 

the Repository on the application server.

 

 

 

 

Cisco Support Tools 1.0 User Guide

How to Use the System Interrogate Utility from a Command Line 132

Page 132
Image 132
Cisco Systems 1.0 (1) manual Download