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 » General Discussion » How can you keeping running total of msgs per Q for the day?

Post new topic  Reply to topic Goto page Previous  1, 2
 How can you keeping running total of msgs per Q for the day? « View previous topic :: View next topic » 
Author Message
wschutz
PostPosted: Tue Aug 30, 2005 4:20 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
Meanwhile, I tried using the perl module MQSeries::Command where you can use a function called InquireQueue to capture many queue Attributes. So, as a quick test, I tried to capture the following attributes:
OpenInputCount
OpenOutputCount
CurrentQDepth
TimeSinceReset
MsgEnqCount
The first three are attributes of a queue, the last two are fields in a pcf response message from the "RESET QUEUE STATISTICS" pcf command. Try looking at the Reset Queue Statistics method of that package.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Mr Butcher
PostPosted: Tue Aug 30, 2005 10:30 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

as you said, the curdepth is just a snapshot of messages in the queue at the moment the command is issued. it depends on the application if this kind of statistic will give you "good" results or not.
if you have triggered application that process incoming messages quickly you will get no good results.

with version 5 there are no build in queue statistics (except on z/OS).
anyway, there are some posibilities:

1. let the application itself do some statistics

2. if the channel / queue is a 1:1 relationship (e.g. 1 inbound channel for 1 inbound queue) then the channel statistics may give some values.
if no 1:1 relationship, the channel status will still show incoming and outgoing messages, maybe this is better then nothing.

3. use a channel exit. i once wrote a channel exit that collected information about queues and number of messages for these queues.
these information was written to a queue periodically and could be used for statistics. this was on zOS, so the code is of no use for you, but maybe you decide to go this way.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » How can you keeping running total of msgs per Q for the day?
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.