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.
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.
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