|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to view MAXINSTC in real time |
« View previous topic :: View next topic » |
Author |
Message
|
ccarrillo |
Posted: Mon Aug 07, 2017 9:16 am Post subject: How to view MAXINSTC in real time |
|
|
Newbie
Joined: 28 Oct 2016 Posts: 9
|
Hi guys, i have a question, How can i get the MAXINSTC value for a Channel on real time, in other words, how many Instances clients are connected for a particular Channel, thanks for your responses. |
|
Back to top |
|
 |
PaulClarke |
Posted: Mon Aug 07, 2017 9:35 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Well, essentially you need to issue a DISPLAY CHSTATUS and add up all the values of CURSHCNV. I'm afraid the base IBM MQ product won't do that for you. In other words there is no command to return you a single number. If you have something like MQSCX then you can easily write a simple script to do it - in fact it is one of the examples in our discussion regarding adding up values, read here https://mqgem.wordpress.com/2016/07/19/adding-up/ if you are interested.
Of course you mention MAXINSTC rather than MAXINST so you would change the DISPLAY CHSTATUS command to only return responses from a single client machine.
Cheers,
Paul _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
abhi_thri |
Posted: Thu Aug 10, 2017 12:18 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 10, 2017 5:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I think the assumption here is shcnv = 0 or shcnv = 1 on the channel definition...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hughson |
Posted: Thu Aug 10, 2017 1:25 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
|
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
|
|
|
|