FreeKB - RabbitMQ Listing channels using the rabbitmqctl command
RabbitMQ - Listing channels using the rabbitmqctl command

The rabbitmqctl command with the list_channels option can be used to list all of the channels.

rabbitmqctl list_channels


Something like this should be returned.

[root@tladist003 rabbitmq]# rabbitmqctl list_channels
Listing channels
<rabbit@server001.3.2404.0>    channel001   0       0
<rabbit@server001.3.2408.0>    channel002   0       0
<rabbit@server001.3.7738.0>    channel003   1       0


The name and user options are commonly used to display the source and target IP address and the user associated with the channel.

rabbitmqctl list_channels name user


Which should return something like this. Notice a unique source port for each channel. -> (1)    john.doe -> (2)    jane.doe -> (1)    jack.doe


The --formatter json option can be used to return the output in JSON.

rabbitmqctl list_channels --formatter json

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter f1578 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |