Lines Matching +full:server +full:- +full:id
3 The debug example uses a Hello World style server whose response includes its
7 The example requires grpc-java to already be built. You are strongly encouraged
13 1. Optional: Build the hello-world-debug example client.
16 2. Build the debuggable server and client. From the
17 `grpc-java/examples/examples-debug` directory run:
24 scripts `build/install/debug/bin/hostname-debuggable-server/bin/hostname-debuggable-server`
31 $ ./build/install/debug/bin/hostname-debuggable-server/bin/hostname-debuggable-server
36 Note: You can use the standard hello-world client with no debugging enabled and
37 still see results on the server. However, if you want to get debug information
38 about the client you need to run the hello-world-debuggable client.
43 $ ../build/install/examples/bin/hello-world-client
49 $ ./build/install/examples-debug/bin/hello-world-debuggable-client
56 1. Build the hello-world example client. See [the examples README](../README.md)
62 $ # Run the server (from the examples-debug directory)
63 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.debug.HostnameServer
66 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.helloworld.HelloWorldClient
77 [grpc-ecosystem/grpcdebug](https://github.com/grpc-ecosystem/grpcdebug). You
79 (https://github.com/grpc-ecosystem/grpcdebug/releases/latest) (recommended) or
88 |:-----------|:--------------------:|:--------------------------------------------------|
89 | channel | \<channel id or URL> | Display channel states in a human readable way. |
91 | server | \<server ID> | Displays server state in a human readable way. |
93 | socket | \<socket ID> | Displays socket states in a human readable way. |
94 | subchannel | \<id> | Display subchannel states in human readable way. |
100 #### Getting overall server info
104 This will show you the server ids with their activity
106 Server ID Listen Addresses Calls(Started/Succeeded/Failed) Last Call Started
113 bin/grpcdebug/grpcdebug localhost:50051 channelz server 2
120 Server Id: 2
126 ---
127 Socket ID Local->Remote Streams(Started/Succeeded/Failed) Messages(Sent/Received) …
128 19 [::1]:50051->[::1]:39834 4/3/0 3/4
131 #### Displaying detailed info for a server side connection (socket)
140 Socket ID: 19
141 Address: [::1]:50051->[::1]:50094
154 ---
196 Channel ID Target State Calls(Started/Succeeded/Failed) Created Time
200 Note: If you have a simple server that doesn't use gRPC clients to contact other
210 Channel ID: 3
217 ---
218 Subchannel ID Target State Calls(Started/Succee…
229 Subchannel ID: 10
236 ---
237 Socket ID Local->Remote Streams(Started/Succeeded/Failed) Messages(Sent/Re…
238 11 127.0.0.1:48536->127.0.0.1:50051 16/16/0 12/12 …