Cisco Systems 1.0 (1) Manual De Usuario
Cisco Support Tools 1.0 User Guide
How to Use the Services Utility from a Command Line 124
dependencies while those dependencies are running. If you attempt to stop such
a service, the utility returns a message stating that dependent services are
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
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.
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.
run. If not specified, the utility is run on the local
system.
><app_servername>
/<options>
/<options>
system
Specifies the target system the utility should run
against. If not specified, the utility is run against
the local system.
against. If not specified, the utility is run against
the local system.
> /system <host_name>
/<options>
/<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.
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
list
Displays information on all services on the target
system.
For each service, this command displays:
system.
For each service, this command displays:
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.
defined in the target system's
processinfo.xml file.
y
Start (if the process is stopped) or Stop (if
the process if started.
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.
this output to a local file. Output is stored as
XML-formatted text.
>list
OR
>list <localfile_path\filename>
OR
>list <localfile_path\filename>
start
Starts a stopped service on the target system.
>start <pid> <service_name>
Note: Enter "0" for the PID
when starting a service.
Note: Enter "0" for the PID
when starting a service.
stop
Stops a started service on the target system.
>stop <pid> <service_name>