|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WBIMB - CSD03 - Is message flow running? |
« View previous topic :: View next topic » |
Author |
Message
|
jonny |
Posted: Tue Oct 12, 2004 1:48 am Post subject: WBIMB - CSD03 - Is message flow running? |
|
|
Acolyte
Joined: 03 Jul 2003 Posts: 57
|
Hi,
Is there a way to check whether a message flow is running on Solaris, without using the Tookit? and without using the Inputcount on the input queue?
We need this, so we can have it in a script to run as a report to list all message flows that are running.
Thanks in advance |
|
Back to top |
|
 |
Tibor |
Posted: Tue Oct 12, 2004 3:09 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Use the command mqsilist. you can find info in manual: Verifying components
Quote: |
...and without using the Inputcount on the input queue? |
Well, I know only one *perfect* way: monitoring the input queues for depth and dequeueing count (need programming). However in generally this is enough watching queues with runmqsc, e.g.
Code: |
echo "dis ql(*) ipprocs curdepth" | runmqsc <qmgr> | grep "[A-Z](" | sed "N;s/\n// | grep ".*IPPROCS(0).*CURDEPTH([1-9].*)" |
-> display all queues which contains messages but not opened for input
Tibor |
|
Back to top |
|
 |
jonny |
Posted: Tue Oct 12, 2004 7:41 am Post subject: |
|
|
Acolyte
Joined: 03 Jul 2003 Posts: 57
|
Thanks Tibor for your input.
mqsilist <broker name> -e <execution group> will only list deployed message flows even if message flows are not running.
The reason why I sai without using the Inputcount, is because there might be more than message flows or application servicing the queue, so even if it is not 0, it doesn't mean that the message flow is not running, also message flow might be looping, thats why current depth of the queue might stay the same.
Is any one else have any ideas.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 12, 2004 8:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You said "Toolkit", so I assume you're running version 5.
I think there are performance events that get sent when a message flow initializes and when it processes messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
shra_k |
Posted: Wed Dec 15, 2004 2:09 am Post subject: |
|
|
Apprentice
Joined: 30 Dec 2002 Posts: 37
|
check for the BROKERRESOURCES table...u wil find one column as BLOB...in that based on ur msgflow uuid...check if the <Supplement Status = "NO">.....if te value is no, it means flow is not running...if the value is "yes", then the flow is running ...enjoy _________________ Shra |
|
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
|
|
|
|