message queue - count open connections


its me again ;)

i need to know how many connections open to a message queue??

is there any posibility?

You mean that you want to see how many clients there are for a particular queue?

If you are using the mq library implementation, then that is nearly impossible since it is an asynchronous message channel … so your best guess is to look at the number of connections to a particular channel.

If you are using the mqueue server implemenetation, then you can take a look with ‘pidin fd’ and see all of the connection information there and correlate things.

Hope this helps,