FreeKB - Display number of connections to an IBM MQ queue manager
Display number of connections to an IBM MQ queue manager

Home > Search


If you are not sure what an MQ queue manager is, check out our Getting Started tutorial. These examples are based on Linux.

Start the MQSC utility for the queue manager that you want to display the current number of connections. In this example, MANAGER01 is the name of the queue manager. If you are not sure the name of the queue manager, use the dspmq command to display the queue managers. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.

Display the current number of connections to the queue manager.

echo "display qmstatus conns" | runmqsc MANAGER01

 

Following is an example of what will be displayed. In this example, there are 25 current connections to the queue manager.

  3 : display qmstatus conns
AMQ8705I: Display Queue Manager Status Details.
  QMNAME(MANAGER01)      STATUS(RUNNING)
  CONNS(25)

 



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 faa69 in the box below so that we can be sure you are a human.




Comments