dependencies while those dependencies are running. If you attempt to stop such a service, the utility returns a message stating that dependent services are running.

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

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

 

 

 

 

list

Displays information on all services on the target

>list

 

system.

OR

 

 

 

For each service, this command displays:

>list <localfile_path\filename>

 

 

 

y Service Name: The service's name.

 

 

y PID: The service's process ID.

 

 

y Type: Critical, Known, or Unknown, as

 

 

defined in the target system's

 

 

processinfo.xml file.

 

 

y Start (if the process is stopped) or Stop (if

 

 

the process if started.

 

 

Optionally, you can include an argument to dump

 

 

this output to a local file. Output is stored as

 

 

XML-formatted text.

 

 

 

 

start

Starts a stopped service on the target system.

>start <pid> <service_name>

 

 

Note: Enter "0" for the PID

 

 

when starting a service.

 

 

 

stop

Stops a started service on the target system.

>stop <pid> <service_name>

 

 

 

Cisco Support Tools 1.0 User Guide

How to Use the Services Utility from a Command Line 124

Page 124
Image 124
Cisco Systems 1.0 (1) manual Command Line Options, Command Description Example