qdstat [OPTIONS]
An AMQP monitoring tool that shows status information about networks of Dispatch routers. It can display connections, network nodes and links, and router stats such as memory use.
-h, --help : show this help message and exit
--version : Print version and exit.
-g, --general : Show General Router Stats
-c, --connections : Show Connections
-l, --links : Show Router Links
-n, --nodes : Show Router Nodes
-e, --edge : Show edge connections
-a, --address : Show Router Addresses
-m, --memory : Show Router Memory Stats
--autolinks : Show Auto Links
--linkroutes : Show Link Routes
--all-routers : Show entities for all routers in network. Can also be
--all-entities : Show all router entities. Can be combined with --all-
-v, --verbose : Show maximum detail
--log : Show recent log entries
--limit=LIMIT : Limit number of output rows
-b URL, --bus=URL : URL of the messaging bus to connect to (default
-r ROUTER-ID, --router=ROUTER-ID : Router to be queried
-t SECS, --timeout=SECS : Maximum time to wait for connection in seconds (default 5)
--ssl-certificate=CERT : Client SSL certificate (PEM Format)
--ssl-key=KEY : Client SSL private key (PEM Format)
--ssl-trustfile=TRUSTED-CA-DB : Trusted Certificate Authority Database file (PEM Format)
--ssl-password=PASSWORD : Certificate password, will be prompted if not specifed.
--ssl-password-file=SSL-PASSWORD-FILE : Certificate password, will be prompted if not specifed.
--sasl-mechanisms=SASL-MECHANISMS : Allowed sasl mechanisms to be supplied during the sasl handshake.
--sasl-username=SASL-USERNAME : User name for SASL plain authentication
--sasl-password=SASL-PASSWORD : Password for SASL plain authentication
--sasl-password-file=SASL-PASSWORD-FILE : Password for SASL plain authentication
--ssl-disable-peer-name-verify : Disables SSL peer name verification. WARNING - This option is insecure and must not be used in production environments
The connection’s unique identifier.
The hostname or internet address of the remotely-connected AMQP container.
The container name of the remotely-connected AMQP container.
The connection’s role:
normal - The normal connection from a client to a router.
inter-router - The connection between routers to form a network.
route-container - The connection to or from a broker or other host to receive link routes and waypoints.
edge - The connection between an edge router and an interior router.
The direction in which the connection was established:
in - The connection was initiated by the remote container.
out - The connection was initiated by this router.
The security or encryption method, if any, used for this connection.
The authentication method and user ID of the connection’s authenticated user.
If the connection is to a listener using multi-tenancy, this column displays the tenant namespace for the connection.
The type of link:
router-control - An inter-router link that is reserved for control messages exchanged between routers.
inter-router - An inter-router link that is used for normal message-routed deliveries.
endpoint - A normal link to an external endpoint container.
The direction that messages flow on the link:
in - Deliveries flow inbound to the router.
out - Deliveries flow outbound from the router.
The unique identifier of the connection over which this link is attached.
The unique identifier of this link.
For link-routed links, the unique identifier of the peer link. In link routing, an inbound link is paired with an outbound link.
The class of the address bound to the link:
local - The address that is local to this router (temporary).
topo - A topological address used for router control messages.
router - A summary router address used to route messages to a remote router’s local addresses.
mobile - A mobile address for an attached consumer or producer.
link-in - The address match for incoming routed links.
link-out - The address match for outgoing routed links.
The address bound to the link.
The phase of the address bound to the link.
The capacity, in deliveries, of the link.
The priority of the link. Priority influences the order in which links are processed within a connection. Higher numbers represent higher priorities.
The number of undelivered messages stored on the link’s FIFO.
The number of unsettled deliveries being tracked by the link.
The total number of deliveries that have transited this link.
The number of pre-settled deliveries that transited this link.
The number of pre-settled deliveries that were dropped due to congestion.
The number of deliveries on this link that were accepted.
The number of deliveries on this link that were rejected.
The number of deliveries on this link that were released.
The number of deliveries on this link that were modified.
The number of settled deliveries on this link that were unsettled for more than one second.
The average rate (over a period of five seconds) at which deliveries have been settled on this link.
The administrative status of the link:
enabled - The link is enabled for normal operation.
disabled - The link is disabled and should be quiescing or stopped (not yet supported).
The operational status of the link:
up - The link is operational.
down - The link is not attached.
quiescing - The link is in the process of quiescing (not yet supported).
idle - The link has completed quiescing and is idle (not yet supported).
The link name (only shown if the -v option is provided).
The router’s ID.
If this router is not a neighbor, this field identifies the next-hop neighbor used to reach this router.
The ID of the link to the neighbor router.
The topology cost to this remote router (with -v option only).
The list of neighbor routers (the router’s link-state). This field is available only if you specify the -v option.
The list of origin routers for which the best path to the listed router passes through this router (available only with the -v option).
The connection’s unique identifier.
The hostname or internet address of the remotely-connected edge router.
The container name of the remotely-connected edge router.
The direction in which the connection was established:
in - The connection was initiated by the edge router.
out - The connection was initiated by this router.
The security or encryption method, if any, used for this connection.
The authentication method and user ID of the connection’s authenticated user.
If the connection is to a listener using multi-tenancy, this column displays the tenant namespace for the connection.
The class of the address:
local - The address that is local to this router.
topo - The topological address used for router control messages.
router - A summary router address used to route messages to a remote router’s local addresses.
mobile - A mobile address for an attached consumer or producer.
The address text.
For mobile addresses only, the phase of the address. Direct addresses have only a phase 0. Waypoint addresses have multiple phases, normally 0 and 1.
One of the following distribution methods used for this address:
multicast - A copy of each message is delivered once to each consumer for the address.
closest - Each message is delivered to only one consumer for the address. The closest (lowest cost) consumer will be chosen. If there are multiple lowest-cost consumers, deliveries will be spread across those consumers.
balanced - Each message is delivered to only one consumer for the address. The consumer with the fewest outstanding (unsettled) deliveries will be chosen. The cost of the route to the consumer is a threshold for delivery (that is, higher cost consumers will only receive deliveries if closer consumers are backed up).
flood - Used only for router-control traffic. This is multicast without the prevention of duplicate deliveries.
The priority of the address. If the address prefix/pattern is configured with a priority, that priority will appear in this column. Messages for addresses configured with a priority will be forwarded according to the address’s priority.
The number of in-process consumers for this address.
For this router, the number of local consumers for this address, or for link-routed addresses, the number of locally-attached containers that are destinations for this address.
The number of remote routers that have at least one consumer for this address.
The number of deliveries for this address that entered the network on this router.
The number of deliveries for this address that exited the network on this router.
The number of deliveries for this address that were forwarded to other routers.
The number of deliveries for this address that were delivered to an in-process consumer.
The number of deliveries for this address that were received from an in-process producer.
The address prefix of the link route.
The direction of matching links (from this router’s perspective).
The distribution method used for routed links. This value should always be linkBalanced, which is the only supported distribution for routed links.
The operational status of the link route:
active - The route is actively routing attaches (it is ready for use).
inactive - The route is inactive, because no local destination is connected.
The auto link’s address.
The direction that messages flow over the auto link:
in - Messages flow in from the route-container to the router network.
out - Messages flow out to the route-container from the router network.
The address phase for this auto link.
The ID of the link managed by this auto link.
The operational status of this auto link:
inactive - There is no connected container for this auto link.
attaching - The link is attaching to the container.
failed - The link-attach failed.
active - The link is operational.
quiescing - The link is quiescing (not yet supported).
idle - The link is idle (not yet supported).
The description of the last attach failure that occurred on this auto link.
qdrouterd(8), qdmanage(8), qdrouterd.conf(5)
Apache Qpid, Messaging built on AMQP; Copyright © 2015 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; 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