Using tibemsadmin
(Admin Tool)
The most direct method is using the tibemsadmin
command-line tool that comes with EMS.
Steps:
tibemsadmin -server tcp://<host>:<port>
- Replace
<host>
and<port>
with the actual EMS broker hostname and port (default is usuallytcp://localhost:7222
). - If authentication is enabled, you’ll be prompted for a username and password.
Example:
tibemsadmin -server tcp://localhost:7222
If the connection is successful, you’ll be dropped into the EMS admin shell (>
) where you can issue commands like:
show connections
Command Description
show connections –> List all active client connections
show connection –>Show detailed info about one connection
show consumers –> Show queue/topic consumers (useful to see which app is subscribed)
show producers –> Show active message producers
show queues –> See which apps are connected to which queues
show topics –> Show all topic subscribers