@(Dubbo)[Dubbo]

telnet ip 端口

telnet 具体service的ip和端口,而不是zookeeper的ip端口

Dubbo telnet 指令调试监控使用

telnet成功连通以后的指令操作

Dubbo telnet 指令调试监控使用

这里的service用于定位某个服务,可以不写完整的包路径,只要通过名称可以找到唯一的一个api就行

ls

  • ls -l 列出目前服务包含了那些rpc的service接口

Dubbo telnet 指令调试监控使用

status

  • status -l 查看目前服务的总的状态
    Dubbo telnet 指令调试监控使用

count

  • count [service] [method] [times] - 即时统计目前某个service具体方法(method)的调用情况,method 参数不填默认显示全部的方法 times 统计次数
  • count com.yuntai.xh.med.newa.api.pat.PatService 2
  • count PatService 2

Dubbo telnet 指令调试监控使用

invoke

  • invoke [service.]method(args) service 只要保证可以找到对应的服务,可以不写完整的包路径
  • invoke com.yuntai.xxx…xxx.pat.PatService.queryXHPatientRules(“7046ed49ee8349919e33e23e01d10196”,“2c9082834cc77afb014ccad1c68b0015”)
  • invoke PatService.queryXHPatientRules(“7046ed49ee8349919e33e23e01d10196”,“2c9082834cc77afb014ccad1c68b0015”)

Dubbo telnet 指令调试监控使用

相关文章: