stopsvc command

Purpose

Stops the agent or service that is specified by the given name.

Syntax

stopsvc AgentName

Description

The stopsvc command stops the specified agent or service. Use the lssvc command to obtain a list of valid agent and service names. The agent determines the operations that occur during the stop command. If you attempt to stop an agent or service that is already stopped, you receive a message indicating that the agent or service has already been stopped.

Note: For the IBM® agent, the lssvc command displays only the valid agent used by the cfgsvc command during configuration.

Agent or service names

The following agents can be managed by the Virtual I/O Server (VIOS) .
Agent name Description

ITM_premium

ITM_cec

Stops the specified IBM Tivoli® Monitoring agent.

The ITM_premium and ITM_cec agents are IBM Tivoli Monitoring agents. These agents provide system information including I/O virtualization mappings and system utilization.

TPC Stops the TotalStorage™ agent.

The TPC_fabric and TPC_data agents are valid Tivoli Storage Productivity Center agents for the stopsvc command.

perfmgr Stops the performance management data collector agent.
ipsec_tunnel Deactivates and deletes the secure tunnels.
ILMT

Stops the IBM License Metric Tool agent on the VIOS.

Exit Status

See Exit status for Virtual I/O Server commands.

Examples

  1. To stop the TPC_data agent, type the command as follows:
    stopsvc TPC_data 
  2. To stop the TPC_fabric agent, type the command as follows:
    stopsvc TPC_fabric 
  3. To stop the ITM_premium agent, type the command as follows:
    stopsvc ITM_premium   
  4. To stop the perfmgr agent, type the command as follows:
    stopsvc perfmgr   
  5. To stop and delete secure tunnels, type the command as follows:
    stopsvc ipsec_tunnel   
IBM License Metric Tool
  1. To stop the IBM License Metric Tool agent, type the command as follows:
    stopsvc ILMT