show rpc all

Use the show rpc all command to display the list of all the RPCs from all the pods with RPC and remote host information.

The following sample output is for the show rpc all command:

[smf] smf# show rpc all | tab | nomore  
                                                                                                                                                                                   PROCESSING 
                                                                                                                                                 CONNECTED  DISCONNECTED  MONITOR  INSTANCE 
POD INSTANCE       NAME                        REMOTE ADDRESS             REMOTE HOST         TYPE                    SET NAME         STATUS    TIME       TIME          RPCHOST  INFO                                              VERSION 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cache-pod-1        cache-pod-affinity          xx.xx.xx.xx:0000           cache-pod_20        Grpc                    cache-pod_2      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-1        cache-pod-affinity          xx.xx.xx.xx:0000           cache-pod_10        Grpc                    cache-pod_1      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-1        stream_cache-pod-affinity   xx.xx.xx.xx:0000           cache-pod_10        GrpcServerClientStream  cache-pod_1      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-1        stream_cache-pod-affinity   xx.xx.xx.xx:0000           cache-pod_20        GrpcServerClientStream  cache-pod_2      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-1        oam-pod                     xx.xx.xx.xx:0000           oam-pod             GrpcStream              <none>           Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-1        Replication                 xx.xx.xx.xx:0000           cachepod_1          GrpcStream              <none>           Started   3 weeks    <none>        false    <none>                                            <none>
cache-pod-1        Replication                 xx.xx.xx.xx:0000           cachepod_2          GrpcStream              <none>           Started   3 weeks    <none>        false    <none>                                            <none>
cache-pod-2        cache-pod-affinity          xx.xx.xx.xx:0000           cache-pod_10        Grpc                    cache-pod_1      Started   4 weeks    <none>        false    <none>                                            <none>
:
:
cache-pod-2        cache-pod-affinity          xx.xx.xx.xx:0000           cache-pod_20        Grpc                    cache-pod_2      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-2        stream_cache-pod-affinity   xx.xx.xx.xx:0000           cache-pod_20        GrpcServerClientStream  cache-pod_2      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-2        stream_cache-pod-affinity   xx.xx.xx.xx:0000           cache-pod_10        GrpcServerClientStream  cache-pod_1      Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-2        oam-pod                     xx.xx.xx.xx:0000           oam-pod             GrpcStream              <none>           Started   4 weeks    <none>        false    <none>                                            <none>
cache-pod-2        Replication                 xx.xx.xx.xx:0000           cachepod_1          GrpcStream              <none>           Started   3 weeks    <none>        false    <none>                                            <none>
cache-pod-2        Replication                 xx.xx.xx.xx:0000           cachepod_2          GrpcStream              <none>           Started   3 weeks    <none>        false    <none>                                            <none>
example-rest-ep-1  example-service             example-service:0000       example-service0    Grpc                    example-service  Started   2 weeks    <none>        true     example.example-service.cluster1.example-data.12  <none>
Output Field Descriptions for the show rpc Command

Field

Description

Connected Time

Specifies the duration when the RPC host is connected.

Disconnected Time

Specifies the duration when the RPC host is disconnected.

Monitor RPC Host

Indicates whether the RPC host is being monitored for connection status.

Name

Displays the name of the RPC registered in pod.

Pod Instance

Displays the instance information of the pod.

Processing Instance Info

Indicates the processing instance name, if available.

Remote Address

Displays IP address and port of remote endpoint.

Remote Host

Displays the name of the RPC host.

Set Name

Displays the RPC set name for a group of RPC hosts.

Status

Displays the current status of the RPC host. The status values are Started, Starting, and Stopped.

Type

Displays the type of connection such as Rest, Grpc, and GrpcStream.

Version

Displays the version of the RPC host API, if available.