Chapter 12: Using Cisco Tools from a Command Line

 

How to Use the Processes Utility from a Command Line

Command:

Description:

Example:

kill

Terminates a started process on the target system.

>stop <pid> <process_name>

save

Saves the latest list command results to a processes file in the

>save

 

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:

Processes list <host_name> <timestamp>.xml.

 

Optionally, you can include an argument that specifies a file name.

 

files

Displays the list of precesses files in the application server's

>files

 

Repository.

 

view

Displays the contents of a precesses file from the Repository on

>view <filename>

 

the application server.

OR

 

 

 

 

>view <filename>

 

 

<localfile_path\filename>

remove, rm

Deletes a specified precesses file from the Repository on the

>remove <filename>

 

application server.

 

rename, ren

Renames a precesses file in the Repository on the application

>rename <filename>

 

server.

<new_filename>

read_file, read

Directs command input to another input file.

>read <filename>

 

For example, you can direct input to run a batch file that contains

 

 

a series of commands executable by this utility.

 

silent

Executes command without displaying output.

><command> /silent

 

Note: Available in command-line mode only.

 

quit, q

Ends the program.

>quit

Viewing and Killing a Service - Examples

The following table shows an example of viewing and killing a process, with a description of each entry.

Command Option:

Description:

>processcontrol

Invokes the Processes utility.

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

133

Page 147
Image 147
Cisco Systems 2.1(1) Viewing and Killing a Service Examples, Kill Terminates a started process on the target system, 133