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 » Messageflow Running Duration

Post new topic  Reply to topic
 Messageflow Running Duration « View previous topic :: View next topic » 
Author Message
pdmenon
PostPosted: Tue Feb 08, 2011 11:53 pm    Post subject: Messageflow Running Duration Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

Dear Experts,

How can we know, from how long (time period) a message flow is running under an execution group.

Is there any command or any way, which tells about this?

P/F: AIX, MB 6.1

Any response is appreciated.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Wed Feb 09, 2011 6:16 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

It is not clear what you are looking for.

Is it the deployment time, or the elapsed time from message flow accounting & statistics?
Back to top
View user's profile Send private message
pdmenon
PostPosted: Wed Feb 09, 2011 11:16 pm    Post subject: Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

Quote:
Is it the deployment time, or the elapsed time from message flow accounting & statistics?


The elapsed time from when message flow is running till date/minute.
Back to top
View user's profile Send private message
santnmq
PostPosted: Thu Feb 10, 2011 2:45 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

You can find out at what time the message flow was deployed... but if you are looking for the time at which the message flow was started, i don't think we have any facility with the WMB to get that ....
Back to top
View user's profile Send private message
pdmenon
PostPosted: Thu Feb 10, 2011 3:22 am    Post subject: Reply with quote

Voyager

Joined: 05 Apr 2010
Posts: 80

santnmq wrote:
You can find out at what time the message flow was deployed...


Dear santnmq,

Vitor has given a clue in the following link:

http://www.mqseries.net/phpBB2/viewtopic.php?p=289279&sid=8c63c64124efced9a008a46496a7833a

Vitor

But I was looking for the elapsed time, as I mentioned in this post.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 5:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pdmenon wrote:
But I was looking for the elapsed time, as I mentioned in this post.


AFAIK there's no WMB way of determining this.

You could get close by using system facilities (and possibly the broker's log) to determine when the EG started. If it's wasn't this early in the morning & I'd had more coffee I'd experiment to see if broker logs start/stop commands for individual flows.

And of course every flow has been running no longer than the EG has been running. And don't try and get more granularity by putting flows one to an EG - your box will run out of resources.

Here's an important point - why exactly do you care how long it's been running? What use is this information to you? Deploy time is valuable as it ties back to code version, but what does it matter how long a given instance of a flow has been going? What possible use is this?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 10, 2011 6:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's still not clear what information you are looking to determine.

Is it the amount of time since an EG startup that the flow has spent performing real work? This is from accounting&statistics.

Is it the amount of time since the EG started up at all? This is in the system log, the EG logs when it starts.

Is it the amount of time that has elapsed since the flow was deployed? This has been discussed.

Is it the amount of time since the flow was deployed that the EG was actually running, regardless of whether or not the flow was processing work? You will have to calculate this number based on the number of times the EG was started and stopped, and the amount of time between those.

Is it some other mysterious number that you haven't clearly expressed?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Feb 10, 2011 6:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

A higher level question would be: what will you do with this information once you have it? How will it help you to know this?

Are you looking for a way to determine the version of message flow that is deployed?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Feb 10, 2011 6:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Are you looking for a way to determine the version of message flow that is deployed?


Vitor wrote:
Deploy time is valuable as it ties back to code version

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bsiggers
PostPosted: Thu Feb 10, 2011 9:58 am    Post subject: Reply with quote

Acolyte

Joined: 09 Dec 2010
Posts: 53
Location: Vancouver, BC

Or are we maybe talking about the time from beginning to end, like execution time - timestamp the flow starts, and timestamp when the flow ends? You could put in transaction monitoring hooks in the various nodes - we do this in MB7, and the functionality is available in 6.1.0.3 or later. Works pretty nicely.

http://www.ibm.com/developerworks/websphere/library/techarticles/0911_fan/0911_fan.html
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 10, 2011 10:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

As a number of people have commented, it's ambiguous at best what "time" the OP is trying to collect or why.

Though I agree, if you mean "the time a flow has been running a particular input" then the broker monitoring works nicely. Use it myself to prove bottlenecks are elsewhere....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Messageflow Running Duration
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.