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 » WebSphere Message Broker (ACE) Support » Doubt on mqsichangeflowstats command

Post new topic  Reply to topic
 Doubt on mqsichangeflowstats command « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Wed Dec 23, 2009 12:20 am    Post subject: Doubt on mqsichangeflowstats command Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I need to check the time taken for my flow to process a message. I have a MQinput node, Compute node and a MQOutput node. I need to know the time from the time the message is picked from the IN queue and till the message is sent to OUT queue.

I tried using mqsichangeflowstats command, which has "TotalElapsedTime" in it.

My doubt is, when should i run this command and is this the right way to calculate the time taken by a flow and where does the XML file get generated when i run this command?
Back to top
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Wed Dec 23, 2009 12:47 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

what i understood is you are looking on Monitoring part in Broker Tool- am i correct?


Are you using V6.1 if not you cant do that monitoring part.

if you are planning to use Accounting and Statistics, yes you have to configure the same in broker part.

ftp://ftp.software.ibm.com/software/integration/support/supportpacs/individual/IS11Accounting.pdf

Please search for Accouting and Statistics, we have discussed the same over here.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Dec 23, 2009 1:05 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

I think that Doubt is the wrong word to use.

From Wikipedia:-
Quote:
Doubt, a status between belief and disbelief, involves uncertainty or distrust or lack of sureness of an alleged fact, an action, a motive, or a decision.


It might be better to use the word Question
Quote:
A question may be either a linguistic expression used to make a request for information, or else the request itself made by such an expression. This information is provided with an answer.

It seems to me, you are requesting information.

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Dec 23, 2009 1:56 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

I wouldn't use o=xml for this purpose but o=usertrace. If you select xml outputformat you will have to register a subscription of statistics data, read the message from a queue. And the data will be in xml which is not very human readable.

Use -s option and you get snapshot data of about 20 seconds of execution time. Send several messages. You will notice that there is a difference between maximum and average elapsed times. My assumption is that the elapsed time of the first message of a batch contains some time used for waiting the message to arrive in the queue. This is why I try to load the input queue with hundreds of messages so that processing of the batch will take more that 40 seconds (set input queue to get inhibited first) This way I get three samples. The one in the middle is the one I trust.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Wed Dec 23, 2009 2:21 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

If you want to track the time taken for individual invocations of a flow, then you have a number of options:
1) insert nodes into your flow (start timer/stop timer)
2) event emission, using the audit and monitoring framework
3) user exits
4) a third-party monitoring or tracking tool

Any of these will be better than using accounting and statistics, which is designed for aggregating throughput performance over a period of time, and will be difficult to track for individual flows, as Esa suggests.
(2) might be the easiest for you to implement based on what you're trying to do, but as Gaya3 says, you need to be on 6.1(.0.2).
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Dec 23, 2009 2:44 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You can also add a number 5 to mqmatt's list:

5: Normal usertrace - this gives you time at the flow and node and subnode (in some cases) level. For testing a single message through a single flow, this is often the quickest...


Regards.
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Dec 23, 2009 2:49 am    Post subject: Re: Doubt on mqsichangeflowstats command Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

kash3338 wrote:
Hi,

I need to check the time taken for my flow to process a message.


My interpretation was that kash3338 just needs to know how fast his flow is performing in general. In which case statistics would be the easiest way.
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 » WebSphere Message Broker (ACE) Support » Doubt on mqsichangeflowstats command
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.