ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Number of Connections in a QueueManager

Post new topic  Reply to topic
 Number of Connections in a QueueManager « View previous topic :: View next topic » 
Author Message
an_ragu
PostPosted: Tue Jul 30, 2002 11:12 pm    Post subject: Number of Connections in a QueueManager Reply with quote

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
View user's profile Send private message Send e-mail
bduncan
PostPosted: Wed Jul 31, 2002 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
an_ragu
PostPosted: Wed Jul 31, 2002 7:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bduncan
PostPosted: Thu Aug 01, 2002 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Bill57
PostPosted: Tue Aug 06, 2002 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Number of Connections in a QueueManager
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.