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 » IBM MQ Performance Monitoring » Output from amqsaiem.c?

Post new topic  Reply to topic
 Output from amqsaiem.c? « View previous topic :: View next topic » 
Author Message
ewilliams
PostPosted: Thu Dec 12, 2002 11:32 am    Post subject: Output from amqsaiem.c? Reply with quote

Apprentice

Joined: 27 Nov 2002
Posts: 30
Location: Portland

Keeping in mind I'm still learning...

I am looking at the sample amqsaiem.c for event monitoring. The particular event I am wanting to look for is a Queue Depth High event on a queue. I am cool with getting the event to fire off, but having a problem trying to research or translate of what the output from this sample is giving me. The documentation says that it used the mqGetBag but I can't find info on that either.

For now I am just going to write this out to a file and grep it from there.

Can anyone give me a explanation of what this output means? The first event is from a High Event and the second is from the Low Event.

Other details
- The queue max is set at 10 and the High/Low Thresholds for the events are 50/20 percent respectively.
- OS Solaris

Thanks
Eric

Code:
Sample Event Monitor (times out after 30 secs)

Waiting for an event

Handle:184080 Size:14
Index: Selector: Value:
  0      -8       (0)
  1      -2       (7)
  2      -1       (0)
  3      -3       (45)
  4      -4       (1)
  5      -5       (1)
  6      -6       (1)
  7      -7       (2224)
  8      2015     'QM.BLADE.WMIS.CM' 0
  9      2002     'Q.TRIG.INIT' 0
  10     35       (411)
  11     36       (5)
  12     37       (5)
  13     38       (2)


Waiting for an event

Handle:184080 Size:14
Index: Selector: Value:
  0      -8       (0)
  1      -2       (7)
  2      -1       (0)
  3      -3       (45)
  4      -4       (1)
  5      -5       (1)
  6      -6       (0)
  7      -7       (2225)
  8      2015     'QM.BLADE.WMIS.CM' 0
  9      2002     'Q.TRIG.INIT' 0
  10     35       (10)
  11     36       (6)
  12     37       (1)
  13     38       (4)


Waiting for an event
No more messages
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Jan 08, 2003 8:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I just saw this append after getting back from the holidays. I'm not sure that I can answer all of your questions, but I can try.

The mqGetBag is a call that is documented in the MQSeries Administration Interface Programming Guide and Reference. You can find a copy of this manual at: http://www-3.ibm.com/software/ts/mqseries/library/manualsa/manuals/crossprev.html. The function prototypes are in cmqbc.h. Basically, this API is a layer on top of the conventional PCF. It allows you to deal with PCF types of messages as a bag.

The output is a little more cryptic. The first set of selectors (the negative ones) are related to the bag. The -7 selector has the q_depth_low (2224) and q_depth_high (2225) set. This lets you know what kind of event it is. Other than this, I'm not really sure what these selectors indicate. The second set of selectors (2002,2015) are MQCA_* values from cqmc.h. In your example, they are 2002 - base queue name and 2015 - qmgr name. The 35-38 are selectors for integer values (MQIA_*).

If you look in the Event Monitoring manual, you'll find details on the queue depth high/low events which will show what they return.

Hope this helps.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ping master
PostPosted: Tue Apr 01, 2003 3:12 pm    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

having a similar issue interpreting the replybag

i looked at your and I can tell that in Index 3 on each it is using

selector -3 which is MQIASY_COMMAND
and the value 45 is MQCMD_PERFM_EVENT

im trying desperatly to figure these out ....
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 » IBM MQ Performance Monitoring » Output from amqsaiem.c?
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.