Author |
Message
|
prap |
Posted: Mon Nov 03, 2008 11:48 pm Post subject: How to catch the message traffic count in MQ |
|
|
Newbie
Joined: 03 Nov 2008 Posts: 2
|
Hi All,
I need a solution for catching the message count from MQ. As i have siebel application integrating with MB and other applications. So i need to know the how many are coming into Broker from sieble n how many are goin fom broker to other applications.
So my requirement is to write a script in aix to find the count of incoming and outgoing messages from broker.
Is there a way to read the count from MQ?
Regards
Prap[/b] |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Nov 03, 2008 11:56 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Better use some monitoring tools. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
zpat |
Posted: Tue Nov 04, 2008 12:59 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5867 Location: UK
|
amqsmon might be used, or support pac MS0P.
If you are coding broker flows - you could keep a counter in a database table easily enough.
Depends what you want & how often & how accurate etc? |
|
Back to top |
|
 |
prap |
Posted: Tue Nov 04, 2008 1:44 am Post subject: |
|
|
Newbie
Joined: 03 Nov 2008 Posts: 2
|
Thank u all for your suggestions....
I dont have any moinitoring tools to monitor.
Right now we are accessing some interface log for counting the number incoming messages n outgoing messages.
but its becoming heavy while to check many log files for many mulitple interfaces thru a unix script.
Is there any way to get the count from MQ queues or channels as per time and date to use in unix script.
Regards,
Pradeep |
|
Back to top |
|
 |
jsware |
Posted: Tue Nov 04, 2008 6:02 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
prap wrote: |
Right now we are accessing some interface log for counting the number incoming messages n outgoing messages.
but its becoming heavy while to check many log files for many mulitple interfaces thru a unix script.
Is there any way to get the count from MQ queues or channels as per time and date to use in unix script. |
If you are prepared to use something like a perl script with the Perl-MQ library (a supportpac I forget the number) there is a "RESET STATS" call which gives you the enqueue and dequeue count of messages sincle the last "RESET STATS" on that queue. You would need to look at the docs for RESET STATS carefully because whether it includes excludes backout transactions and expired messages being removed might not match the actual count you are looking for. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
|