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 IBM MQ Support » need an off-the-shelf queue depth checker

Post new topic  Reply to topic
 need an off-the-shelf queue depth checker « View previous topic :: View next topic » 
Author Message
ivanachukapawn
PostPosted: Wed Oct 06, 2010 10:02 am    Post subject: need an off-the-shelf queue depth checker Reply with quote

Knight

Joined: 27 Oct 2003
Posts: 561

and couldn't find anything. I need this for Win2K MQ6.0.2.9, a command which can be invoked from a .BAT script which returns queue depth. I thought about rolling my own (I need off-the-shelf - my own pgm using API will not be accepted) but couldn't find anything in support packs or in the distribution which can deliver this info (Q.exe and amqsbcg browse the whole queue and don't yield a count, etc). This should be simple but it has me temporarily stumped.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Oct 06, 2010 10:54 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Is this a trick question? Does not echo DIS QL([INSERT QUEUE NAME HERE]) CURDEPTH | runmqsc [INSERT QUEUE MANAGER NAME HERE] > depth_check.txt not work for you?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 06, 2010 2:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

MQ Explorer or MO71 should work beautifully there...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Wed Oct 06, 2010 11:35 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I hope this is not for an application. These are better either long-running with an outstanding MQGET WAIT, or triggered (first, and then process all the messages until empty).

Awareness of queue depth is not needed for applications. If you are attempting to build your own system management tool..... there are plenty out there. MO71 can monitor event messages and take actions (run commands). You can set a queue event message on depth etc.
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 » General IBM MQ Support » need an off-the-shelf queue depth checker
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.