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 » Monitor Number od message and time taken

Post new topic  Reply to topic
 Monitor Number od message and time taken « View previous topic :: View next topic » 
Author Message
mvarghese
PostPosted: Wed Jul 04, 2007 3:26 pm    Post subject: Monitor Number od message and time taken Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Hi ,
I need to develop a small program to check daily statistics /weekly
how many messages passes thru our MQ netwrok..Contribution(put/get from each application to specific Queue>.The time taken by MQ to despatch message from source to destination Queue.
I am looking what all specific commands useful in MQv6<Accounting & statistics commands> or any other way to get the above info reqularly.

Presently we are not using any tools.

Thanks in advance.
_________________
Jain Varghese
Back to top
View user's profile Send private message
battie
PostPosted: Wed Jul 04, 2007 4:39 pm    Post subject: Monitor Number od message and time taken Reply with quote

Newbie

Joined: 04 Feb 2007
Posts: 8
Location: Sydney

To get the number of messages processed by a queue use an MQAI program to execute the MQCMD_RESET_Q_STATS command on each queue. This will give you the MQIA_TIME_SINCE_RESET, MQIA_HIGH_Q_DEPTH, MQIA_MSG_ENQ_COUNT and MQIA_MSG_DEQ_COUNT. I run something similar at my site using cron to execute it every 15min or so and insert the data into a database. There's some good samples at http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html. I haven't looked at the stats provided by 6.0 but I understand they are provided in the form of an event message so you will need to write an event monitor to decode these. There's also a plug-in for MQ Explorer at http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=D400&uid=swg24011617&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere if you haven't seen it already.
_________________
Battie
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed Jul 04, 2007 5:33 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It may or may not be easier to write a program that uses PCF messages rather than the MQAI. I suppose it depends on which seems easier to the person writing the program.

There's a support pack that provides handy-dandy PCF classes for Java.

The Perl module for MQ (available through cpan, troublesome to build on windows) does an excellent job of hiding basically everything about PCF messages from programs. It will also handle event messages.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvarghese
PostPosted: Wed Jul 04, 2007 10:15 pm    Post subject: Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Thanks Jeff & battie..
One more thing:


one of the o/p from Statistics & accounting messge data:

OpenCount: [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
OpenFailCount: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
CloseCount: [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

I just need to know, what 0 & 1.. means..why its in brackets...what does it significane..how to intrepret that values?
_________________
Jain Varghese
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Jul 04, 2007 10:59 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mvarghese wrote:


OpenCount: [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
OpenFailCount: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
CloseCount: [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

I just need to know, what 0 & 1.. means..why its in brackets...what does it significane..how to intrepret that values?


This array represents values for different types of MQ objects.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Monitor Number od message and time taken
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.