|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Counting connection to a qmgr |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Tue Feb 21, 2006 12:34 pm Post subject: Counting connection to a qmgr |
|
|
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 |
|
 |
wschutz |
Posted: Tue Feb 21, 2006 12:37 pm Post subject: |
|
|
 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 |
|
 |
KramJ |
Posted: Tue Feb 21, 2006 12:50 pm Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Tue Feb 21, 2006 1:08 pm Post subject: |
|
|
 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 |
|
 |
jeevan |
Posted: Tue Feb 21, 2006 7:15 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
When I asked the questions, I only thought about server connection.
thanks |
|
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
|
|
|
|