Displays the status and LAT characteristics of LAT services known to the local node. Format SHOW SERVICE [service-name]
1 – Parameters
service-name Specifies the name of the service for which information will be displayed. If you do not specify a service name, LATCP displays information about all services known to the node. You can also specify any valid wildcard for this parameter. For example, the SHOW SERVICE LAT_* command displays the status and characteristics of all services that begin with the LAT_ prefix.
2 – Qualifiers
2.1 /BRIEF
Displays the status and identification string of the service.
2.2 /COUNTERS
Displays the counters kept for the service. Do not use the /BRIEF or /FULL qualifier with this qualifier. The following table lists and describes the counters: Counter Description Remote Counters Connections The total number of times the local node attempted attempted to connect to the service offered on a remote node. Connections The total number of times the local node completed successfully connected to the service offered on a remote node. Local Counters Connections The total number of times the local node accepted accepted a connection request from a remote node to a locally offered service. Connections The total number of times the local node rejected rejected a connection request from a remote node to a locally offered service. Password The total number of connect requests to the failures service which were rejected due to password violation errors.
2.3 /FULL
Displays the status, identification string, and type of service, and the values set for service characteristics. This qualifier also displays the status of all service nodes offering the service.
2.4 /LOCAL
Displays information about services offered by the local node only. You can use this qualifier with the /BRIEF, /COUNTERS, or /FULL qualifier.
3 – Examples
1.LATCP> SHOW SERVICE NODE1 /FULL The SHOW SERVICE command in this example produces the following display of information about service NODE1. This service is offered by the local node. Service Name: NODE1 Service Type: General Service Status: Available Connections: Enabled Service Password: Enabled Queueing: N/A Service Ident: NODE1 - Test system Node Name Status Rating Identification LAV On 31 D . LATP Reachable 48 . LITTN Reachable 37 . LTDRV Reachable 82 . The display in this example indicates that the locally offered service NODE1 is available and its service type is general, meaning that it is a general timesharing service (in contrast to a dedicated application service). The display also lists the status of all the nodes that offer the service. The local node is LAV. The status of the local node can be either On, Off, or Shut. Here node LAV's status is On. The status of the other nodes indicates whether they are reachable. The display lists the ratings of each service node, indicating their relative capacity to accept new connections. The D next to the locally offered service indicates that node LAV computes its rating dynamically. An S would indicate that the node's rating was set permanently by the node's system manager. 2.LATCP> SHOW SERVICE OFFICE/FULL The SHOW SERVICE command in this example produces the following display of information about the service OFFICE, which is offered by a remote node: Service Name: OFFICE Service Status: Available Service Ident: . Node Name Status Rating Identification BURGIL Reachable 121 . DARWIN Reachable 43 . The display in this example indicates that the service is available. The display also indicates the status and other information about the nodes that offer the service, BURGIL and DARWIN.