qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject [45/51] [partial] qpid-site git commit: tidy out some site content for the oldest releases
Date Mon, 02 Jul 2018 14:28:14 GMT
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/fb1899b6/content/releases/qpid-cpp-0.34/cpp-broker/book/chapter-Managing-CPP-Broker.html
----------------------------------------------------------------------
diff --git a/content/releases/qpid-cpp-0.34/cpp-broker/book/chapter-Managing-CPP-Broker.html
b/content/releases/qpid-cpp-0.34/cpp-broker/book/chapter-Managing-CPP-Broker.html
deleted file mode 100644
index 9e95eb2..0000000
--- a/content/releases/qpid-cpp-0.34/cpp-broker/book/chapter-Managing-CPP-Broker.html
+++ /dev/null
@@ -1,602 +0,0 @@
-<!DOCTYPE html>
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements.  See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership.  The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License.  You may obtain a copy of the License at
- -
- -   http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied.  See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-  <head>
-    <title>2.1.&#160; Managing the C++ Broker - Apache Qpid&#8482;</title>
-    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-    <link rel="stylesheet" href="/site.css" type="text/css" async="async"/>
-    <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/>
-    <script type="text/javascript">var _deferredFunctions = [];</script>
-    <script type="text/javascript" src="/deferred.js" defer="defer"></script>
-    <!--[if lte IE 8]>
-      <link rel="stylesheet" href="/ie.css" type="text/css"/>
-      <script type="text/javascript" src="/html5shiv.js"></script>
-    <![endif]-->
-
-    <!-- Redirects for `go get` and godoc.org -->
-    <meta name="go-import"
-          content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/>
-    <meta name="go-source"
-          content="qpid.apache.org
-https://github.com/apache/qpid-proton/blob/go1/README.md
-https://github.com/apache/qpid-proton/tree/go1{/dir}
-https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/>
-  </head>
-  <body>
-    <div id="-content">
-      <div id="-top" class="panel">
-        <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a>
-
-        <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a>
-
-        <ul id="-global-navigation">
-          <li><a id="-logotype" href="/index.html">Apache Qpid<sup>&#8482;</sup></a></li>
-          <li><a href="/documentation.html">Documentation</a></li>
-          <li><a href="/download.html">Download</a></li>
-          <li><a href="/discussion.html">Discussion</a></li>
-        </ul>
-      </div>
-
-      <div id="-menu" class="panel" style="display: none;">
-        <div class="flex">
-          <section>
-            <h3>Project</h3>
-
-            <ul>
-              <li><a href="/overview.html">Overview</a></li>
-              <li><a href="/components/index.html">Components</a></li>
-              <li><a href="/releases/index.html">Releases</a></li>
-            </ul>
-          </section>
-
-          <section>
-            <h3>Messaging APIs</h3>
-
-            <ul>
-              <li><a href="/proton/index.html">Qpid Proton</a></li>
-              <li><a href="/components/jms/index.html">Qpid JMS</a></li>
-              <li><a href="/components/messaging-api/index.html">Qpid Messaging
API</a></li>
-            </ul>
-          </section>
-
-          <section>
-            <h3>Servers and tools</h3>
-
-            <ul>
-              <li><a href="/components/broker-j/index.html">Broker-J</a></li>
-              <li><a href="/components/cpp-broker/index.html">C++ broker</a></li>
-              <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li>
-            </ul>
-          </section>
-
-          <section>
-            <h3>Resources</h3>
-
-            <ul>
-              <li><a href="/dashboard.html">Dashboard</a></li>
-              <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li>
-              <li><a href="/resources.html">More resources</a></li>
-            </ul>
-          </section>
-        </div>
-      </div>
-
-      <div id="-search" class="panel" style="display: none;">
-        <form action="http://www.google.com/search" method="get">
-          <input type="hidden" name="sitesearch" value="qpid.apache.org"/>
-          <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/>
-          <button type="submit">Search</button>
-          <a href="/search.html">More ways to search</a>
-        </form>
-      </div>
-
-      <div id="-middle" class="panel">
-        <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a
href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-cpp-0.34/index.html">Qpid
C++ 0.34</a></li><li><a href="/releases/qpid-cpp-0.34/cpp-broker/book/index.html">AMQP
Messaging Broker (Implemented in C++)</a></li><li>2.1.&#160; Managing
the C++ Broker</li></ul>
-
-        <div id="-middle-content">
-          <div class="docbook"><div class="navheader"><table summary="Navigation
header" width="100%"><tr><th align="center" colspan="3">Chapter&#160;2.&#160;
-      Managing the AMQP Messaging Broker
-    </th></tr><tr><td align="left" width="20%"><a accesskey="p"
href="ha-queue-replication.html">Prev</a>&#160;</td><th align="center"
width="60%">&#160;</th><td align="right" width="20%">&#160;<a accesskey="n"
href="ch02s02.html">Next</a></td></tr></table><hr /></div><div
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a
id="chapter-Managing-CPP-Broker"></a>Chapter&#160;2.&#160;
-      Managing the AMQP Messaging Broker
-    </h1></div></div></div><div class="toc"><p><strong>Table
of Contents</strong></p><dl class="toc"><dt><span class="section"><a
href="chapter-Managing-CPP-Broker.html#section-Managing-CPP-Broker">2.1.  Managing the
C++ Broker </a></span></dt><dd><dl><dt><span class="section"><a
href="chapter-Managing-CPP-Broker.html#MgmtC-2B-2B-Usingqpidconfig">2.1.1. 
-            Using qpid-config
-          </a></span></dt><dt><span class="section"><a href="chapter-Managing-CPP-Broker.html#MgmtC-2B-2B-Usingqpidroute">2.1.2.

-            Using qpid-route
-          </a></span></dt><dt><span class="section"><a href="chapter-Managing-CPP-Broker.html#MgmtC-2B-2B-Usingqpidtool">2.1.3.

-            Using qpid-tool
-          </a></span></dt><dt><span class="section"><a href="chapter-Managing-CPP-Broker.html#MgmtC-2B-2B-Usingqpidprintevents">2.1.4.

-            Using
-            qpid-printevents
-          </a></span></dt><dt><span class="section"><a href="chapter-Managing-CPP-Broker.html#idm221066922768">2.1.5.
Using qpid-ha</a></span></dt></dl></dd><dt><span class="section"><a
href="ch02s02.html">2.2. 
-      Qpid Management Framework
-    </a></span></dt><dd><dl><dt><span class="section"><a
href="ch02s02.html#QpidManagementFramework-WhatIsQMF">2.2.1. 
-            What Is QMF
-          </a></span></dt><dt><span class="section"><a href="ch02s02.html#QpidManagementFramework-GettingStartedwithQMF">2.2.2.

-            Getting
-            Started with QMF
-          </a></span></dt><dt><span class="section"><a href="ch02s02.html#QpidManagementFramework-QMFConcepts">2.2.3.

-            QMF Concepts
-          </a></span></dt><dt><span class="section"><a href="ch02s02.html#QpidManagementFramework-TheQMFProtocol">2.2.4.

-            The QMF
-            Protocol
-          </a></span></dt><dt><span class="section"><a href="ch02s02.html#QpidManagementFramework-HowtoWriteaQMFConsole">2.2.5.

-            How
-            to Write a QMF Console
-          </a></span></dt><dt><span class="section"><a href="ch02s02.html#QpidManagementFramework-HowtoWriteaQMFAgent">2.2.6.

-            How to
-            Write a QMF Agent
-          </a></span></dt></dl></dd><dt><span class="section"><a
href="ch02s03.html">2.3. 
-      QMF Python Console Tutorial
-    </a></span></dt><dd><dl><dt><span class="section"><a
href="ch02s03.html#QMFPythonConsoleTutorial-PrerequisiteInstallQpidMessaging">2.3.1. 
-            Prerequisite
-            - Install Qpid Messaging
-          </a></span></dt><dt><span class="section"><a href="ch02s03.html#QMFPythonConsoleTutorial-SynchronousConsoleOperations">2.3.2.

-            Synchronous
-            Console Operations
-          </a></span></dt><dt><span class="section"><a href="ch02s03.html#QMFPythonConsoleTutorial-AsynchronousConsoleOperations">2.3.3.

-            Asynchronous
-            Console Operations
-          </a></span></dt><dt><span class="section"><a href="ch02s03.html#QMFPythonConsoleTutorial-DiscoveringwhatKindsofObjectsareAvailable">2.3.4.

-            Discovering what Kinds of Objects are Available
-          </a></span></dt></dl></dd></dl></div><div
class="section"><div class="titlepage"><div><div><h2 class="title"><a
id="section-Managing-CPP-Broker"></a>2.1.&#160; Managing the C++ Broker </h2></div></div></div><p>
-            There are quite a few ways to interact with the C++ broker. The
-            command line tools
-            include:
-          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li
class="listitem"><p>qpid-route - used to configure federation (a set of federated
-            brokers)
-            </p></li><li class="listitem"><p>qpid-config - used to
configure queues, exchanges, bindings
-            and list them etc
-            </p></li><li class="listitem"><p>qpid-tool - used to
view management information/statistics
-            and call any management actions on the broker
-            </p></li><li class="listitem"><p>qpid-printevents - used
to receive and print QMF events
-            </p></li><li class="listitem"><p>qpid-ha - used to interact
with the High Availability module
-            </p></li></ul></div><div class="section"><div
class="titlepage"><div><div><h3 class="title"><a id="MgmtC-2B-2B-Usingqpidconfig"></a>2.1.1.&#160;
-            Using qpid-config
-          </h3></div></div></div><p>
-            This utility can be used to create queues exchanges and bindings,
-            both durable and transient. Always check for latest options by
-            running --help command.
-          </p><pre class="programlisting">
-$ qpid-config --help
-Usage:  qpid-config [OPTIONS]
-        qpid-config [OPTIONS] exchanges [filter-string]
-        qpid-config [OPTIONS] queues    [filter-string]
-        qpid-config [OPTIONS] add exchange &lt;type&gt; &lt;name&gt; [AddExchangeOptions]
-        qpid-config [OPTIONS] del exchange &lt;name&gt;
-        qpid-config [OPTIONS] add queue &lt;name&gt; [AddQueueOptions]
-        qpid-config [OPTIONS] del queue &lt;name&gt;
-        qpid-config [OPTIONS] bind   &lt;exchange-name&gt; &lt;queue-name&gt;
[binding-key]
-        qpid-config [OPTIONS] unbind &lt;exchange-name&gt; &lt;queue-name&gt;
[binding-key]
-
-Options:
-    -b [ --bindings ]                         Show bindings in queue or exchange list
-    -a [ --broker-addr ] Address (localhost)  Address of qpidd broker
-         broker-addr is in the form:   [username/password@] hostname | ip-address [:&lt;port&gt;]
-         ex:  localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
-
-Add Queue Options:
-    --durable            Queue is durable
-    --file-count N (8)   Number of files in queue's persistence journal
-    --file-size  N (24)  File size in pages (64Kib/page)
-    --max-queue-size N   Maximum in-memory queue size as bytes
-    --max-queue-count N  Maximum in-memory queue size as a number of messages
-    --limit-policy [none | reject | flow-to-disk | ring | ring-strict]
-                         Action taken when queue limit is reached:
-                             none (default) - Use broker's default policy
-                             reject         - Reject enqueued messages
-                             flow-to-disk   - Page messages to disk
-                             ring           - Replace oldest unacquired message with new
-                             ring-strict    - Replace oldest message, reject if oldest is
acquired
-    --order [fifo | lvq | lvq-no-browse]
-                         Set queue ordering policy:
-                             fifo (default) - First in, first out
-                             lvq            - Last Value Queue ordering, allows queue browsing
-                             lvq-no-browse  - Last Value Queue ordering, browsing clients
may lose data
-
-Add Exchange Options:
-    --durable    Exchange is durable
-    --sequence   Exchange will insert a 'qpid.msg_sequence' field in the message header
-                 with a value that increments for each message forwarded.
-    --ive        Exchange will behave as an 'initial-value-exchange', keeping a reference
-                 to the last message forwarded and enqueuing that message to newly bound
-                 queues.
-</pre><p>
-            Get the summary page
-          </p><pre class="programlisting">
-$ qpid-config
-Total Exchanges: 6
-          topic: 2
-        headers: 1
-         fanout: 1
-         direct: 2
-   Total Queues: 7
-        durable: 0
-    non-durable: 7
-</pre><p>
-            List the queues
-          </p><pre class="programlisting">
-$ qpid-config queues
-Queue Name                                  Attributes
-=================================================================
-pub_start
-pub_done
-sub_ready
-sub_done
-perftest0                                   --durable
-reply-dhcp-100-18-254.bos.redhat.com.20713  auto-del excl
-topic-dhcp-100-18-254.bos.redhat.com.20713  auto-del excl
-
-</pre><p>
-            List the exchanges with bindings
-          </p><pre class="programlisting">
-$ ./qpid-config -b exchanges
-Exchange '' (direct)
-    bind pub_start =&gt; pub_start
-    bind pub_done =&gt; pub_done
-    bind sub_ready =&gt; sub_ready
-    bind sub_done =&gt; sub_done
-    bind perftest0 =&gt; perftest0
-    bind mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-Exchange 'amq.direct' (direct)
-    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 =&gt; repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-    bind repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837 =&gt; repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837
-    bind repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae =&gt; repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
-Exchange 'amq.topic' (topic)
-Exchange 'amq.fanout' (fanout)
-Exchange 'amq.match' (headers)
-Exchange 'qpid.management' (topic)
-    bind mgmt.# =&gt; mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-</pre></div><div class="section"><div class="titlepage"><div><div><h3
class="title"><a id="MgmtC-2B-2B-Usingqpidroute"></a>2.1.2.&#160;
-            Using qpid-route
-          </h3></div></div></div><p>
-            This utility is to create federated networks of brokers, This
-            allows you for forward messages between brokers in a network.
-            Messages can be routed statically (using "qpid-route route add")
-            where the bindings that control message forwarding are supplied
-            in the route. Message routing can also be dynamic (using
-            "qpid-route dynamic add") where the messages are automatically
-            forwarded to clients based on their bindings to the local broker.
-          </p><pre class="programlisting">
-$ qpid-route
-Usage:  qpid-route [OPTIONS] dynamic add &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt; [tag] [exclude-list]
-        qpid-route [OPTIONS] dynamic del &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt;
-
-        qpid-route [OPTIONS] route add   &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt; &lt;routing-key&gt; [tag] [exclude-list]
-        qpid-route [OPTIONS] route del   &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt; &lt;routing-key&gt;
-        qpid-route [OPTIONS] queue add   &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt; &lt;queue&gt;
-        qpid-route [OPTIONS] queue del   &lt;dest-broker&gt; &lt;src-broker&gt;
&lt;exchange&gt; &lt;queue&gt;
-        qpid-route [OPTIONS] route list  [&lt;dest-broker&gt;]
-        qpid-route [OPTIONS] route flush [&lt;dest-broker&gt;]
-        qpid-route [OPTIONS] route map   [&lt;broker&gt;]
-
-        qpid-route [OPTIONS] link add  &lt;dest-broker&gt; &lt;src-broker&gt;
-        qpid-route [OPTIONS] link del  &lt;dest-broker&gt; &lt;src-broker&gt;
-        qpid-route [OPTIONS] link list [&lt;dest-broker&gt;]
-
-Options:
-    -v [ --verbose ]         Verbose output
-    -q [ --quiet ]           Quiet output, don't print duplicate warnings
-    -d [ --durable ]         Added configuration shall be durable
-    -e [ --del-empty-link ]  Delete link after deleting last route on the link
-    -s [ --src-local ]       Make connection to source broker (push route)
-    -t &lt;transport&gt; [ --transport &lt;transport&gt;]
-                             Specify transport to use for links, defaults to tcp
-
-  dest-broker and src-broker are in the form:  [username/password@] hostname | ip-address
[:&lt;port&gt;]
-  ex:  localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
-</pre><p>
-            A few examples:
-          </p><pre class="programlisting">
-qpid-route dynamic add host1 host2 fed.topic
-qpid-route dynamic add host2 host1 fed.topic
-
-qpid-route -v route add host1 host2 hub1.topic hub2.topic.stock.buy
-qpid-route -v route add host1 host2 hub1.topic hub2.topic.stock.sell
-qpid-route -v route add host1 host2 hub1.topic 'hub2.topic.stock.#'
-qpid-route -v route add host1 host2 hub1.topic 'hub2.#'
-qpid-route -v route add host1 host2 hub1.topic 'hub2.topic.#'
-qpid-route -v route add host1 host2 hub1.topic 'hub2.global.#'
-</pre><p>
-            The link map feature can be used to display the entire federated
-            network configuration by supplying a single broker as an entry
-            point:
-          </p><pre class="programlisting">
-$ qpid-route route map localhost:10001
-
-Finding Linked Brokers:
-    localhost:10001... Ok
-    localhost:10002... Ok
-    localhost:10003... Ok
-    localhost:10004... Ok
-    localhost:10005... Ok
-    localhost:10006... Ok
-    localhost:10007... Ok
-    localhost:10008... Ok
-
-Dynamic Routes:
-
-  Exchange fed.topic:
-    localhost:10002 &lt;=&gt; localhost:10001
-    localhost:10003 &lt;=&gt; localhost:10002
-    localhost:10004 &lt;=&gt; localhost:10002
-    localhost:10005 &lt;=&gt; localhost:10002
-    localhost:10006 &lt;=&gt; localhost:10005
-    localhost:10007 &lt;=&gt; localhost:10006
-    localhost:10008 &lt;=&gt; localhost:10006
-
-  Exchange fed.direct:
-    localhost:10002  =&gt; localhost:10001
-    localhost:10004  =&gt; localhost:10003
-    localhost:10003  =&gt; localhost:10002
-    localhost:10001  =&gt; localhost:10004
-
-Static Routes:
-
-  localhost:10003(ex=amq.direct) &lt;= localhost:10005(ex=amq.direct) key=rkey
-  localhost:10003(ex=amq.direct) &lt;= localhost:10005(ex=amq.direct) key=rkey2
-</pre></div><div class="section"><div class="titlepage"><div><div><h3
class="title"><a id="MgmtC-2B-2B-Usingqpidtool"></a>2.1.3.&#160;
-            Using qpid-tool
-          </h3></div></div></div><p>
-            This utility provided a telnet style interface to be able to
-            view, list all stats and action
-            all the methods. Simple capture below. Best to just play with it
-            and mail the list if you have
-            questions or want features added.
-          </p><pre class="programlisting">
-qpid:
-qpid: help
-Management Tool for QPID
-Commands:
-    list                            - Print summary of existing objects by class
-    list &lt;className&gt;                - Print list of objects of the specified
class
-    list &lt;className&gt; all            - Print contents of all objects of specified
class
-    list &lt;className&gt; active         - Print contents of all non-deleted objects
of specified class
-    list &lt;list-of-IDs&gt;              - Print contents of one or more objects
(infer className)
-    list &lt;className&gt; &lt;list-of-IDs&gt;  - Print contents of one or
more objects
-        list is space-separated, ranges may be specified (i.e. 1004-1010)
-    call &lt;ID&gt; &lt;methodName&gt; &lt;args&gt; - Invoke a method
on an object
-    schema                          - Print summary of object classes seen on the target
-    schema &lt;className&gt;              - Print details of an object class
-    set time-format short           - Select short timestamp format (default)
-    set time-format long            - Select long timestamp format
-    quit or ^D                      - Exit the program
-qpid: list
-Management Object Types:
-    ObjectType     Active  Deleted
-    ================================
-    qpid.binding   21      0
-    qpid.broker    1       0
-    qpid.client    1       0
-    qpid.exchange  6       0
-    qpid.queue     13      0
-    qpid.session   4       0
-    qpid.system    1       0
-    qpid.vhost     1       0
-qpid: list qpid.system
-Objects of type qpid.system
-    ID    Created   Destroyed  Index
-    ==================================
-    1000  21:00:02  -          host
-qpid: list 1000
-Object of type qpid.system: (last sample time: 21:26:02)
-    Type    Element   1000
-    =======================================================
-    config  sysId     host
-    config  osName    Linux
-    config  nodeName  localhost.localdomain
-    config  release   2.6.24.4-64.fc8
-    config  version   #1 SMP Sat Mar 29 09:15:49 EDT 2008
-    config  machine   x86_64
-qpid: schema queue
-Schema for class 'qpid.queue':
-    Element                Type          Unit         Access      Notes   Description
-    ===================================================================================================================
-    vhostRef               reference                  ReadCreate  index
-    name                   short-string               ReadCreate  index
-    durable                boolean                    ReadCreate
-    autoDelete             boolean                    ReadCreate
-    exclusive              boolean                    ReadCreate
-    arguments              field-table                ReadOnly            Arguments supplied
in queue.declare
-    storeRef               reference                  ReadOnly            Reference to persistent
queue (if durable)
-    msgTotalEnqueues       uint64        message                          Total messages
enqueued
-    msgTotalDequeues       uint64        message                          Total messages
dequeued
-    msgTxnEnqueues         uint64        message                          Transactional messages
enqueued
-    msgTxnDequeues         uint64        message                          Transactional messages
dequeued
-    msgPersistEnqueues     uint64        message                          Persistent messages
enqueued
-    msgPersistDequeues     uint64        message                          Persistent messages
dequeued
-    msgDepth               uint32        message                          Current size of
queue in messages
-    msgDepthHigh           uint32        message                          Current size of
queue in messages (High)
-    msgDepthLow            uint32        message                          Current size of
queue in messages (Low)
-    byteTotalEnqueues      uint64        octet                            Total messages
enqueued
-    byteTotalDequeues      uint64        octet                            Total messages
dequeued
-    byteTxnEnqueues        uint64        octet                            Transactional messages
enqueued
-    byteTxnDequeues        uint64        octet                            Transactional messages
dequeued
-    bytePersistEnqueues    uint64        octet                            Persistent messages
enqueued
-    bytePersistDequeues    uint64        octet                            Persistent messages
dequeued
-    byteDepth              uint32        octet                            Current size of
queue in bytes
-    byteDepthHigh          uint32        octet                            Current size of
queue in bytes (High)
-    byteDepthLow           uint32        octet                            Current size of
queue in bytes (Low)
-    enqueueTxnStarts       uint64        transaction                      Total enqueue transactions
started
-    enqueueTxnCommits      uint64        transaction                      Total enqueue transactions
committed
-    enqueueTxnRejects      uint64        transaction                      Total enqueue transactions
rejected
-    enqueueTxnCount        uint32        transaction                      Current pending
enqueue transactions
-    enqueueTxnCountHigh    uint32        transaction                      Current pending
enqueue transactions (High)
-    enqueueTxnCountLow     uint32        transaction                      Current pending
enqueue transactions (Low)
-    dequeueTxnStarts       uint64        transaction                      Total dequeue transactions
started
-    dequeueTxnCommits      uint64        transaction                      Total dequeue transactions
committed
-    dequeueTxnRejects      uint64        transaction                      Total dequeue transactions
rejected
-    dequeueTxnCount        uint32        transaction                      Current pending
dequeue transactions
-    dequeueTxnCountHigh    uint32        transaction                      Current pending
dequeue transactions (High)
-    dequeueTxnCountLow     uint32        transaction                      Current pending
dequeue transactions (Low)
-    consumers              uint32        consumer                         Current consumers
on queue
-    consumersHigh          uint32        consumer                         Current consumers
on queue (High)
-    consumersLow           uint32        consumer                         Current consumers
on queue (Low)
-    bindings               uint32        binding                          Current bindings
-    bindingsHigh           uint32        binding                          Current bindings
(High)
-    bindingsLow            uint32        binding                          Current bindings
(Low)
-    unackedMessages        uint32        message                          Messages consumed
but not yet acked
-    unackedMessagesHigh    uint32        message                          Messages consumed
but not yet acked (High)
-    unackedMessagesLow     uint32        message                          Messages consumed
but not yet acked (Low)
-    messageLatencySamples  delta-time    nanosecond                       Broker latency
through this queue (Samples)
-    messageLatencyMin      delta-time    nanosecond                       Broker latency
through this queue (Min)
-    messageLatencyMax      delta-time    nanosecond                       Broker latency
through this queue (Max)
-    messageLatencyAverage  delta-time    nanosecond                       Broker latency
through this queue (Average)
-Method 'purge' Discard all messages on queue
-qpid: list queue
-Objects of type qpid.queue
-    ID    Created   Destroyed  Index
-    ===========================================================================
-    1012  21:08:13  -          1002.pub_start
-    1014  21:08:13  -          1002.pub_done
-    1016  21:08:13  -          1002.sub_ready
-    1018  21:08:13  -          1002.sub_done
-    1020  21:08:13  -          1002.perftest0
-    1038  21:09:08  -          1002.mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-    1040  21:09:08  -          1002.repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
-    1046  21:09:32  -          1002.mgmt-df06c7a6-4ce7-426a-9f66-da91a2a6a837
-    1048  21:09:32  -          1002.repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837
-    1054  21:10:01  -          1002.mgmt-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
-    1056  21:10:01  -          1002.repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
-    1063  21:26:00  -          1002.mgmt-8d621997-6356-48c3-acab-76a37081d0f3
-    1065  21:26:00  -          1002.repl-8d621997-6356-48c3-acab-76a37081d0f3
-qpid: list 1020
-Object of type qpid.queue: (last sample time: 21:26:02)
-    Type    Element                1020
-    ==========================================================================
-    config  vhostRef               1002
-    config  name                   perftest0
-    config  durable                False
-    config  autoDelete             False
-    config  exclusive              False
-    config  arguments              {'qpid.max_size': 0, 'qpid.max_count': 0}
-    config  storeRef               NULL
-    inst    msgTotalEnqueues       500000 messages
-    inst    msgTotalDequeues       500000
-    inst    msgTxnEnqueues         0
-    inst    msgTxnDequeues         0
-    inst    msgPersistEnqueues     0
-    inst    msgPersistDequeues     0
-    inst    msgDepth               0
-    inst    msgDepthHigh           0
-    inst    msgDepthLow            0
-    inst    byteTotalEnqueues      512000000 octets
-    inst    byteTotalDequeues      512000000
-    inst    byteTxnEnqueues        0
-    inst    byteTxnDequeues        0
-    inst    bytePersistEnqueues    0
-    inst    bytePersistDequeues    0
-    inst    byteDepth              0
-    inst    byteDepthHigh          0
-    inst    byteDepthLow           0
-    inst    enqueueTxnStarts       0 transactions
-    inst    enqueueTxnCommits      0
-    inst    enqueueTxnRejects      0
-    inst    enqueueTxnCount        0
-    inst    enqueueTxnCountHigh    0
-    inst    enqueueTxnCountLow     0
-    inst    dequeueTxnStarts       0
-    inst    dequeueTxnCommits      0
-    inst    dequeueTxnRejects      0
-    inst    dequeueTxnCount        0
-    inst    dequeueTxnCountHigh    0
-    inst    dequeueTxnCountLow     0
-    inst    consumers              0 consumers
-    inst    consumersHigh          0
-    inst    consumersLow           0
-    inst    bindings               1 binding
-    inst    bindingsHigh           1
-    inst    bindingsLow            1
-    inst    unackedMessages        0 messages
-    inst    unackedMessagesHigh    0
-    inst    unackedMessagesLow     0
-    inst    messageLatencySamples  0
-    inst    messageLatencyMin      0
-    inst    messageLatencyMax      0
-    inst    messageLatencyAverage  0
-qpid:
-</pre></div><div class="section"><div class="titlepage"><div><div><h3
class="title"><a id="MgmtC-2B-2B-Usingqpidprintevents"></a>2.1.4.&#160;
-            Using
-            qpid-printevents
-          </h3></div></div></div><p>
-            This utility connects to one or more brokers and collects events,
-            printing out a line per event.
-          </p><pre class="programlisting">
-$ qpid-printevents --help
-Usage: qpid-printevents [options] [broker-addr]...
-
-Collect and print events from one or more Qpid message brokers.  If no broker-
-addr is supplied, qpid-printevents will connect to 'localhost:5672'. broker-
-addr is of the form:  [username/password@] hostname | ip-address [:&lt;port&gt;]
ex:
-localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost
-
-Options:
-  -h, --help  show this help message and exit
-</pre><p>
-            You get the idea... have fun!
-          </p></div><div class="section"><div class="titlepage"><div><div><h3
class="title"><a id="idm221066922768"></a>2.1.5.&#160;Using qpid-ha</h3></div></div></div><p>This
utility lets you monitor and control the activity of the clustering behavior provided by the
HA module.
-  </p><pre class="programlisting">
-    
-qpid-ha --help
-usage: qpid-ha &lt;command&gt; [&lt;arguments&gt;]
-
-Commands are:
-
-  ready        Test if a backup broker is ready.
-  query        Print HA configuration settings.
-  set          Set HA configuration settings.
-  promote      Promote broker from backup to primary.
-  replicate    Set up replication from &lt;queue&gt; on &lt;remote-broker&gt;
to &lt;queue&gt; on the current broker.
-
-For help with a command type: qpid-ha &lt;command&gt; --help
-
-  </pre></div></div></div><div class="navfooter"><hr /><table
summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a
accesskey="p" href="ha-queue-replication.html">Prev</a>&#160;</td><td
align="center" width="20%">&#160;</td><td align="right" width="40%">&#160;<a
accesskey="n" href="ch02s02.html">Next</a></td></tr><tr><td
align="left" valign="top" width="40%">1.13.&#160;Replicating Queues with the HA module&#160;</td><td
align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td
align="right" valign="top" width="40%">&#160;2.2.&#160;
-      Qpid Management Framework
-    </td></tr></table></div></div>
-
-          <hr/>
-
-          <ul id="-apache-navigation">
-            <li><a href="http://www.apache.org/">Apache</a></li>
-            <li><a href="http://www.apache.org/licenses/">License</a></li>
-            <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
-            <li><a href="http://www.apache.org/foundation/thanks.html">Thanks!</a></li>
-            <li><a href="/security.html">Security</a></li>
-            <li><a href="http://www.apache.org/"><img id="-apache-feather"
width="48" height="14" src="" alt="Apache"/></a></li>
-          </ul>
-
-          <p id="-legal">
-            Apache Qpid, Messaging built on AMQP; Copyright &#169; 2015
-            The Apache Software Foundation; Licensed under
-            the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache
-            License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton,
-            Proton, Apache, the Apache feather logo, and the Apache Qpid
-            project logo are trademarks of The Apache Software
-            Foundation; All other marks mentioned may be trademarks or
-            registered trademarks of their respective owners
-          </p>
-        </div>
-      </div>
-    </div>
-  </body>
-</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message