lssvc command

Purpose

Lists the available agents and services.

Syntax

lssvc [AgentName]

Description

The lssvc command lists all the available agents and services that can be managed by the Virtual I/O Server command-line interface. If an agent name or service name is passed to the lssvc command, a list of attributes with their configured values is displayed. These agents and services are managed by the cfgsvc, startsvc, and stopsvc commands.

Agent or service names

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

ITM_premium

ITM_cec

Lists the attributes and values for the IBM® Tivoli® Monitoring agents.
TPC Lists the attributes and values for the TotalStorage Productivity Center agent.
perfmgr Does not have attributes that the user can set. See the postprocesssvc command for more information about working with this agent.
ipsec_tunnel Lists the secure tunnels that are created on the system. If none are created, the message No tunnels created is displayed.
ILMT Lists the IBM License Metric Tool (ILMT) server that is configured and the agent status on the Virtual I/O Server.

Examples

  1. To list available agents, type the following command:
    lssvc
  2. To list values of attributes by agent name, type the following command:
    lssvc ITM_premium

    The command produces the following output:

     	$lssvc ITM_premium
    		HOSTNAME:tems_server
    		MANAGING_SYSTEM:hmc_console
    		RESTART_ON_REBOOT:TRUE
    		MIRROR:
  3. To list the status of ipsec tunnels on the Virtual I/O Server, type the following command:
    $lssvc ipsec_tunnel

    This command produces the output similar as below:

    Phase   Tun Id      Status      Local Id     Remote Id      
    1       1           Dormant     N/A          4.3.2.1
    2       1           Dormant     1.2.3.4      4.3.2.1
IBM License Metric Tool (ILMT)
  1. To list IBM License Metric Tool (ILMT) details, type the following command:
    $lssvc ILMT

    This command produces the output as follows:

    Server: 1.2.3.4
    Agent Status: active



Last updated: Wed, November 18, 2020