Este contenido no está disponible en el idioma seleccionado.

Chapter 14. Monitoring using qdstat


The qdstat tool is a command-line tool for monitoring the status and performance of AMQ Interconnect router networks.

14.1. Syntax for using qdstat

You can use qdstat with the following syntax:

$ qdstat <option> [<connection-options>] [<secure-connection-options>]
Copy to Clipboard Toggle word wrap

This specifies:

  • An option for the type of information to view.
  • One or more optional connection options to specify a router for which to view the information.

    If you do not specify a connection option, qdstat connects to the router listening on localhost and the default AMQP port (5672).

  • The secure connection options if the router for which you want to view information only accepts secure connections.

Additional resources

14.2. Commands for monitoring the router network

You can use qdstat to view the status of routers on your router network. For example, you can view information about the attached links and configured addresses, available connections, and nodes in the router network.

Expand
To…​Use this command…​

Create a state dump containing all statistics for all routers

A state dump shows the current operational state of the router network.

$ qdstat --all-routers --all-entities
Copy to Clipboard Toggle word wrap

If you run this command on an interior router, it displays the statistics for all interior routers. If you run the command on an edge router, it displays the statistics for only that edge router.

Create a state dump containing a single statistic for all routers

$ qdstat -l|-a|-c|--autolinks|--linkroutes|-g|-m --all-routers
Copy to Clipboard Toggle word wrap

If you run this command on an interior router, it displays the statistic for all interior routers. If you run the command on an edge router, it displays the statistic for only that edge router.

Create a state dump containing all statistics for a single router

$ qdstat --all-entities
Copy to Clipboard Toggle word wrap

This command shows the statistics for the local router only.

View general statistics for a router

$ qdstat -g [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View a list of connections to a router

$ qdstat -c [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View the AMQP links attached to a router

You can view a list of AMQP links attached to the router from clients (sender/receiver), from or to other routers into the network, to other containers (for example, brokers), and from the tool itself.

$ qdstat -l [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View known routers on the router network

$ qdstat -n [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View the addresses known to a router

$ qdstat -a [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View a router’s autolinks

$ qdstat --autolinks [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View the status of a router’s link routes

$ qdstat --linkroutes [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

View a router’s memory consumption

$ qdstat -m [all-routers|<connection-options>]
Copy to Clipboard Toggle word wrap

Additional resources

  • For more information about the fields displayed by each qdstat command, see the qdstat man page.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat