14 """Poll statistics from the server."""
16 from __future__
import absolute_import
17 from __future__
import division
18 from __future__
import print_function
30 channelz_stub = channelz_pb2_grpc.ChannelzStub(channel)
34 response = channelz_stub.GetServers(channelz_pb2.GetServersRequest())
35 print(f
'Info for all servers: {response}')
39 parser = argparse.ArgumentParser()
40 parser.add_argument(
'--addr',
44 help=
'the address to request')
45 args = parser.parse_args()
49 if __name__ ==
'__main__':