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 IBM MQ Support » Counting connection to a qmgr

Post new topic  Reply to topic
 Counting connection to a qmgr « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Tue Feb 21, 2006 12:34 pm    Post subject: Counting connection to a qmgr Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

How can I know how many connection are established to a qmgr? my evn is AIX.

thanks
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Feb 21, 2006 12:37 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Well...if you're lucky enough to be running MQ V6, it's:
Code:
runmqsc
dis qmstatus conns

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
KramJ
PostPosted: Tue Feb 21, 2006 12:50 pm    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

You can do something like this:

echo "dis chstatus(*)"|runmqsc|grep RUNNING|wc

or if clients are connecting to port 1414, you can do:

netstat|grep -c 1414
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Feb 21, 2006 1:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

KramJ wrote:
You can do something like this:

echo "dis chstatus(*)"|runmqsc|grep RUNNING|wc

or if clients are connecting to port 1414, you can do:

netstat|grep -c 1414
Well, that solution would work provided that:
(1) you ONLY have SVRCONN channels and
(2) there are no local applications ....

Of course, maybe that's what jeevan meant by "connections" ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jeevan
PostPosted: Tue Feb 21, 2006 7:15 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

When I asked the questions, I only thought about server connection.

thanks
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 IBM MQ Support » Counting connection to a qmgr
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.