在apache qpid中如何列出经纪人状态?

时间:2013-04-05 08:51:20

标签: c++ apache qpid

Apache Qpid如何列出经纪人状态?

我正在使用qpid-stat -b

Brokers
  broker  cluster       uptime   conn  sess  exch  queue
  ========================================================
  ?       <standalone>  17m 29s     1     1     8     5

除了这些,还有其他选择吗?

1 个答案:

答案 0 :(得分:2)

这取决于经纪人状态的含义。您可以尝试qpid-tool。您可以详细了解here以及here

  

此实用程序提供了一个telnet样式接口,可以查看,   列出所有统计数据和操作所有方法。下面简单捕捉。最好   如果您有任何疑问或想要,只需使用它并邮寄列表   功能已添加。

实施例

% qpid-tool
Management Tool for QPID
qpid: list
Summary of Objects by Type:
    Package                 Class         Active  Deleted
    =======================================================
    org.apache.qpid.broker  exchange      8       0
    com.redhat.rhm.store    store         1       0
    org.apache.qpid.broker  broker        1       0
    org.apache.qpid.broker  binding       16      12
    org.apache.qpid.broker  session       2       1
    org.apache.qpid.broker  connection    2       1
    org.apache.qpid.broker  vhost         1       0
    org.apache.qpid.broker  queue         6       5
    org.apache.qpid.broker  system        1       0
    org.apache.qpid.broker  subscription  6       5