|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Number of Connections in a QueueManager |
« View previous topic :: View next topic » |
Author |
Message
|
an_ragu |
Posted: Tue Jul 30, 2002 11:12 pm Post subject: Number of Connections in a QueueManager |
|
|
Newbie
Joined: 16 May 2002 Posts: 8
|
Hi All,
I want to know howmany applications are currently accessing my Queue Manager?
Is there any possible way to find out the application Name or process id?
And I want to know whether application is howlong it is binding to Queue Manager?
Advance Thanx
Guru |
|
Back to top |
|
 |
bduncan |
Posted: Wed Jul 31, 2002 8:51 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
You either need to be using MQSeries 5.3, in which you can see which applications are connecting to which queues (previous versions only let you see the number of applications where connected, not which ones), or you need to purchase a third party monitoring tool. Or write your own  _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
an_ragu |
Posted: Wed Jul 31, 2002 7:38 pm Post subject: |
|
|
Newbie
Joined: 16 May 2002 Posts: 8
|
Thanx for your reply, but I'm currently using MQSeries 5.1, Atleast I want to know homany handles are using by the queue manager. Suppose I write a small test application which doesn't access any of queues in the queuemanager, this is just testing for establishing a connection with queue manager, so it is also use one of queuemanager handles...Like this I want to know, Is there no way to findout, then could you tell me the way of writing a program to find out the handles..
Thanx in Advance
Guru |
|
Back to top |
|
 |
bduncan |
Posted: Thu Aug 01, 2002 10:02 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Well, there's an ad hoc way of doing, though several people have pointed out to me that it gives more of an estimate of the number of handles rather than exact count.
You need to use either PCF or interact with runmqsc directly (see makeq.pl in the software repository) to list all the queues for a given queue manager, and then count up the number of IPPROCS and OPPROCS for each queue. These correspond to the number of MQOPEN handles for input and output. The total sum will give you the number of MQOPEN handles for the whole queue manager.
Shortcomings:
1) Applications that are simply connected to the queue manager but don't have any queues open won't be counted
2) Applications that have multiple queues open, or the same queue open for input and output simultaneously (though this is not a recommended way of designing MQSeries applications) will potentially be counted more than once _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
Bill57 |
Posted: Tue Aug 06, 2002 5:41 am Post subject: |
|
|
Apprentice
Joined: 26 Jul 2002 Posts: 35 Location: Atlanta, GA
|
I think bduncan's idea is correct. It is most likely the easyest way to get an estimate of connections to your queue manager. Answer a few questions for me and I will see if I can figure something more exact out.
1. Is this a UNIX platform ?
2. Are the applications connecting via client channels, send receive channels, or a combination of both ?
3. What is it about this particular statistic that interests you ? what is it you want to accomplish ?
Let me know and I will do what I can (if anything) to help
Bill _________________ Bill Anderson
MQSeries Developer |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|