TCPIP$UCP_HELP.HLB  —  SHOW  SERVICE
    Displays the following information about configured services:

       Service name
       Port for listening
       Protocol
       Process name
       IP address
       State
       RPC information

    Related commands: SET SERVICE, DISABLE SERVICE, ENABLE SERVICE

    Format

      SHOW SERVICE  [ service ]

                    [ /ADDRESS=address ]

                    [ /FULL ]

                    [ /PERMANENT ]

                    [ /PORT=n ]

                    [ /PROCESS=process ]

                    [ /PROTOCOL=protocol ]

                    [ /RPC ]

1  –  Parameters

 service

    Optional. Default: All services.

    Service for which you want information. To specify a lowercase or
    mixed-case service name, enclose it in quotation marks.

2  –  Qualifiers

2.1    /ADDRESS

       /ADDRESS=address

    Optional. Default: All services.

    Displays information for only the services that use the specified
    address.

2.2    /FULL

    Optional. Default: Brief description is displayed.

    Provides a full display.

2.3    /PERMANENT

    Optional.

    Defaults:

    o  If TCP/IP Services is running and you omit the /PERMANENT
       qualifier, the volatile database is displayed.

    o  If TCP/IP Services is not running, the permanent database is
       displayed.

    You must include the /PERMANENT qualifier when you specify the
    /RPC qualifier.

2.4    /PORT

       /PORT=n

    Optional. Default: All services.

    Displays information only for services that use the specified
    port.

2.5    /PROCESS

       /PROCESS=process

    Optional. Default: All services.

    Displays information for only the services that use the specified
    process.

2.6    /PROTOCOL

       /PROTOCOL=protocol

    Optional. Default: All services.

    Displays information only for services that use the specified
    protocol.

2.7    /RPC

    Optional. Default: No RPC information is displayed.

    Displays a brief summary of the services that are configured with
    RPC information. You must include the /PERMANENT qualifier when
    you specify the /RPC qualifier.

3  –  Examples

    1.TCPIP> SHOW SERVICE /RPC /PERMANENT

                               RPC              Protocol Versions
      Service             Program Number         Lowest / Highest

      MOUNT                     100005                 1        1
      NFS                       100003                 2        2
      PCNFS                     150001                 1        2
      PORTMAPPER                100000                 2        2
      TCPIP>

      Displays all previously set RPC information.

    2.TCPIP> SHOW SERVICE NFS /FULL /PERMANENT

      Service: NFS

      Port:            2049     Protocol:  UDP            Address:  0.0.0.0
      Inactivity:         0     User_name: TCPIP$NFS      Process:  TCPIP$NFS
      Limit:              1

      File:        TCPIP$SYSTEM:TCPIP$NFS_RUN.COM
      Flags:       TCPIP

      Socket Opts: Rcheck Scheck
       Receive:        64000     Send:           64000

      Log Opts:    Acpt Actv Dactv Conn Error Exit Logi Mdfy Rjct TimO Addr
       File:       SYS$SYSDEVICE:[TCPIP$NFS]TCPIP$NFS_RUN.LOG

      RPC Opts
       Program number:   100003  Lowest version:   2   Highest version:   2

      Security
       Reject msg:  not defined
       Accept host: 0.0.0.0
       Accept netw: 0.0.0.0
      TCPIP>

      The /FULL and /PERMANENT qualifiers display RPC information for
      the NFS server, whose program number is 100003, lowest version
      is 2, and highest version is 2. This information is required
      for the NFS server to run.

    3.TCPIP> SHOW SERVICE PCNFS /FULL /PERMANENT

      Shows the full configuration in the permanent database for
      PC-NFS. The RPC information shows that PC-NFS runs as program
      150001; its lowest version number is 1 and its highest version
      number is 2.

    4.TCPIP> SHOW SERVICE PORTMAPPER

      Service     Port      Protocol        Process     Address     State

      PORTMAPPER   111       TCP,UDP      TCPIP$PORTM     0.0.0.0     Enabled

      Monitors the Portmapper service process, showing that the
      service is enabled.

    5.TCPIP> SHOW SERVICE LBROKER /FULL /PERMANENT

      Service: LBROKER

      Port:             6570     Protocol:  UDP             Address:  0.0.0.0
      Inactivity:          0     User_name: TCPIP$LD_BKR    Process:  TCPIP$LBROKER
      Limit:               1

      File:         TCPIP$SYSTEM:TCPIP$LBROKER_RUN.COM
      Flags:        None

      Socket Opts:  Rcheck Scheck
       Receive:            0     Send:               0

      Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
       File:        SYS$SYSDEVICE:[TCPIP$LD_BKR]TCPIP$LBROKER_RUN.LOG

      Security
       Reject msg:  not defined
       Accept host: 0.0.0.0
       Accept netw: 0.0.0.0

      Displays the settings for cluster load balancing.

    6.TCPIP> SHOW SERVICE REXEC /FULL /PERMANENT

      Service: REXEC

      Port:           512  Protocol:  TCP              Address: 0.0.0.0
      Inactivity:       5  User_name: not defined      Process: TCPIP$REXECD
      Limit:            3

      File:         TCPIP$SYSTEM:TCPIP$REXEC_RUN.COM
      Flags:        Case Listen Rexe TCPIP

      Socket Opts:  Rcheck Scheck
       Receive:         0     Send:               0

      Log Opts:     Acpt Actv Dactv Error Exit Mdfy Rjct TimO Addr
       File:        TCPIP$REXEC.LOG

      Separators:
       Port:   0    User_name: 0    Password:  0    Command:  0

      Security
       Reject msg:  not defined
       Accept host: 0.0.0.0
       Accept netw: 0.0.0.0

      Shows the full configuration in the permanent database for
      REXEC.
Close Help