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 125
Command: Description:
Example:
save
Saves the latest list command results to a
services file in the application server's
Repository.
Saved output is stored as XML-formatted text.
If no file name is specified, output is saved to a
file named: ServicesList <host_name>
<timestamp>.xml.
If desired, you can include an argument that
specifies a file name.
services file in the application server's
Repository.
Saved output is stored as XML-formatted text.
If no file name is specified, output is saved to a
file named: ServicesList <host_name>
<timestamp>.xml.
If desired, you can include an argument that
specifies a file name.
>save
OR
>save <filename>
OR
>save <filename>
files
Displays the list of services files in the
application server's Repository.
application server's Repository.
>files
view
Displays the contents of a services file from the
Repository on the application server.
Optionally, you can include an argument to dump
this output to a local file. Output is stored as
XML-formatted text.
Repository on the application server.
Optionally, you can include an argument to dump
this output to a local file. Output is stored as
XML-formatted text.
>view <filename>
OR
>view <filename>
<localfile_path\filename>
OR
>view <filename>
<localfile_path\filename>
remove, rm
Deletes a specified services file from the
Repository on the application server.
Repository on the application server.
>remove <filename>
rename, ren
Renames a services file in the Repository on the
application server.
application server.
>rename <filename>
<new_filename>
<new_filename>
read_file, read
Directs command input to another input file.
For example, you can direct input to run a batch
file that contains a series of commands
executable by this utility.
For example, you can direct input to run a batch
file that contains a series of commands
executable by this utility.
>read <filename>
silent
Executes command without displaying output.
Note: Available in command-line mode only.
Note: Available in command-line mode only.
><command> /silent
quit, q
Ends the program.
>quit
Examples
Viewing and Stopping a Service
The following table shows an example of viewing and stopping a service, with a
description of each entry.
Command Option:
Description:
>servicecontrol
Invokes the Services utility.
>list
Returns a list of all services installed on the target system, along with
their current status.
their current status.
>stop 01464 "snmp service"
Stops the specified service.
Note that due to an embedded space, the service name was placed in
quotes.
Note that due to an embedded space, the service name was placed in
quotes.