Hi Tim, AFAIK, the ClientConnectors are the actual server ports whereas the ClientConnections are the currently connected clients.
Best regards Andreas > On 13 Nov 2014, at 17:28, Tim Bain <tb...@alumni.duke.edu> wrote: > > Looking at the documentation for activemq-admin ( > http://activemq.apache.org/activemq-command-line-tools-reference.html), I > don't see a way to get this information without using JMX, but maybe > someone knows of a way to do it. > > If you can't find a way to do this via activemq-admin, you should be able > to do it using the JMX interface, though I've found (in 5.8.0) that the > number of client connections reported in JMX under clientConnectors is > vastly larger than the number reported in the web console, and I haven't > yet found an explanation for the difference. (Or maybe I'm > misunderstanding some subtle difference between a client connector and a > client connection?) > > Tim > > On Thu, Nov 13, 2014 at 7:23 AM, bansalp <bpradee...@gmail.com> wrote: > >> Hi, >> >> ActiveMQ broker setup: >> >> broker is running on machine: hostA >> >> Clients from different host can connect to my broker instance running on >> hostA, there can be any number of client from any host. >> >> Is there a way to find out how many clients are connected to broker and >> also >> list which tell me how many connection from each host is there to my >> broker. >> >> I want to do this without making assumption about number of hosts. >> >> I can do this by using lsof command and some parsing over output, but I am >> in situation where I can not use this. >> >> Is there any feature provided by ActiveMQ command line utility >> *activemq-admin*. >> >> Thanks, >> --bansalp >> >> >> >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/Get-Number-of-connection-from-all-host-to-my-activemq-broker-tp4687405.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>